Ruff pre-commit max line length (#441)

* test ruff

* test

* test

* ruff

* remove line break

* remove black configuration
This commit is contained in:
callebtc
2024-02-18 21:15:19 +01:00
committed by GitHub
parent 9c3949d197
commit 03c7c61f45

View File

@@ -55,18 +55,8 @@ mint = "cashu.mint.main:main"
cashu = "cashu.wallet.cli.cli:cli" cashu = "cashu.wallet.cli.cli:cli"
wallet-test = "tests.test_wallet:test" wallet-test = "tests.test_wallet:test"
[tool.black]
line-length = 88
# previously experimental-string-processing = true
# this should autoformat string properly but does not work
preview = true
[tool.ruff] [tool.ruff]
# Same as Black. but black has a 10% overflow rule line-length = 88
line-length = 150
show-fixes = true show-fixes = true
[tool.ruff.lint] [tool.ruff.lint]