Move formatter settings
This commit is contained in:
parent
76b441cd62
commit
8af00b20bc
7
pyproject.toml
Normal file
7
pyproject.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[tool.black]
|
||||||
|
line-length = 120
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
multi_line_output = 3
|
||||||
|
line_length = 120
|
9
tox.ini
9
tox.ini
|
@ -10,7 +10,7 @@ deps =
|
||||||
skip_install = True
|
skip_install = True
|
||||||
commands =
|
commands =
|
||||||
isort bdfr tests
|
isort bdfr tests
|
||||||
black bdfr tests --line-length 120
|
black bdfr tests
|
||||||
|
|
||||||
[testenv:format_check]
|
[testenv:format_check]
|
||||||
deps =
|
deps =
|
||||||
|
@ -20,10 +20,5 @@ skip_install = True
|
||||||
allowlist_externals = mdl
|
allowlist_externals = mdl
|
||||||
commands =
|
commands =
|
||||||
isort bdfr tests --check
|
isort bdfr tests --check
|
||||||
black bdfr tests --line-length 120 --check
|
black bdfr tests --check
|
||||||
mdl README.md docs/ -s .markdown_style.rb
|
mdl README.md docs/ -s .markdown_style.rb
|
||||||
|
|
||||||
[isort]
|
|
||||||
profile = black
|
|
||||||
multi_line_output = 3
|
|
||||||
line_length = 120
|
|
||||||
|
|
Loading…
Reference in a new issue