diff options
| -rw-r--r-- | pyproject.toml | 4 | ||||
| -rw-r--r-- | tox.ini | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml index 6e28b2347..9bdd2274c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,11 +21,13 @@ exclude = ''' # This next section only exists for people that have their editors # automatically call isort, black already sorts entries on its own when run. [tool.isort] +profile = "black" multi_line_output = 3 +src_paths = ["src", "tests"] +skip_glob = ["docs/*"] include_trailing_comma = true force_grid_wrap = false combine_as_imports = true -use_parenthesis = true line_length = 79 force_sort_within_sections = true no_lines_before = "THIRDPARTY" @@ -23,7 +23,7 @@ commands = skip_install = true commands = flake8 src/pyramid tests setup.py - isort --check -rc src/pyramid tests setup.py + isort --check-only --df src/pyramid tests setup.py black --check --diff src/pyramid tests setup.py python setup.py check -r -s -m check-manifest @@ -63,7 +63,7 @@ depends = py38-cover [testenv:format] skip_install = true commands = - isort -rc src/pyramid tests setup.py + isort src/pyramid tests setup.py black src/pyramid tests setup.py deps = black |
