mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 07:43:09 +00:00
63b2eb1089
These include flake8 linting, black and isort formatting as well as some general hooks with minor checks. * .pre-commit-config.yaml * pyproject.toml : Run black on test files also.
13 lines
277 B
TOML
13 lines
277 B
TOML
[tool.black]
|
|
line-length = 120
|
|
skip-string-normalization = true
|
|
target-version = ['py39']
|
|
include = "(src/vorta/|tests).*.py$"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 120
|
|
skip_gitignore = true
|
|
multi_line_output = 3
|
|
lines_between_sections = 0
|
|
src_paths = ["src", "tests"]
|