1
0
Fork 0
mirror of synced 2024-06-26 10:00:20 +12:00

Move formatter settings

This commit is contained in:
Serene-Arc 2022-12-04 14:49:37 +10:00
parent 76b441cd62
commit 8af00b20bc
2 changed files with 9 additions and 7 deletions

7
pyproject.toml Normal file
View file

@ -0,0 +1,7 @@
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 120

View file

@ -10,7 +10,7 @@ deps =
skip_install = True
commands =
isort bdfr tests
black bdfr tests --line-length 120
black bdfr tests
[testenv:format_check]
deps =
@ -20,10 +20,5 @@ skip_install = True
allowlist_externals = mdl
commands =
isort bdfr tests --check
black bdfr tests --line-length 120 --check
black bdfr tests --check
mdl README.md docs/ -s .markdown_style.rb
[isort]
profile = black
multi_line_output = 3
line_length = 120