2022-12-03 18:04:02 +13:00
|
|
|
[tox]
|
|
|
|
envlist =
|
|
|
|
format
|
2022-12-03 18:28:53 +13:00
|
|
|
format_check
|
2022-12-03 18:04:02 +13:00
|
|
|
|
|
|
|
[testenv:format]
|
|
|
|
deps =
|
|
|
|
isort
|
|
|
|
black
|
|
|
|
skip_install = True
|
|
|
|
commands =
|
|
|
|
isort bdfr tests
|
|
|
|
black bdfr tests --line-length 120
|
|
|
|
|
2022-12-03 18:28:53 +13:00
|
|
|
[testenv:format_check]
|
|
|
|
deps =
|
|
|
|
isort
|
|
|
|
black
|
|
|
|
skip_install = True
|
2022-12-03 19:34:23 +13:00
|
|
|
allowlist_externals = mdl
|
2022-12-03 18:28:53 +13:00
|
|
|
commands =
|
|
|
|
isort bdfr tests --check
|
|
|
|
black bdfr tests --line-length 120 --check
|
2022-12-03 19:34:23 +13:00
|
|
|
mdl README.md docs/ -s .markdown_style.rb
|
2022-12-03 18:28:53 +13:00
|
|
|
|
2022-12-03 18:04:02 +13:00
|
|
|
[isort]
|
|
|
|
profile = black
|
2022-12-03 18:20:03 +13:00
|
|
|
multi_line_output = 3
|
|
|
|
line_length = 120
|