|
|
@ -48,18 +48,25 @@ test = [ |
|
|
|
] |
|
|
|
] |
|
|
|
dev = [ |
|
|
|
dev = [ |
|
|
|
"black", |
|
|
|
"black", |
|
|
|
"flake8", |
|
|
|
|
|
|
|
"flake8-comprehensions", |
|
|
|
|
|
|
|
"flake8-bandit", |
|
|
|
|
|
|
|
"isort >= 5.0.0", |
|
|
|
|
|
|
|
"keyring", |
|
|
|
"keyring", |
|
|
|
"pre-commit", |
|
|
|
"pre-commit", |
|
|
|
|
|
|
|
"ruff", |
|
|
|
] |
|
|
|
] |
|
|
|
docs = [ |
|
|
|
docs = [ |
|
|
|
"mkdocs", |
|
|
|
"mkdocs", |
|
|
|
"mkdocstrings[python]", |
|
|
|
"mkdocstrings[python]", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options] |
|
|
|
|
|
|
|
markers = [ |
|
|
|
|
|
|
|
"functional: marks tests as functional (deselect with '-m \"not functional\"')", |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
addopts = [ |
|
|
|
|
|
|
|
"--strict-markers", |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.black] |
|
|
|
[tool.black] |
|
|
|
line-length = 79 |
|
|
|
line-length = 79 |
|
|
|
target-version = ['py39', 'py310'] |
|
|
|
target-version = ['py39', 'py310'] |
|
|
@ -74,16 +81,38 @@ extend-exclude = ''' |
|
|
|
^/.dist |
|
|
|
^/.dist |
|
|
|
''' |
|
|
|
''' |
|
|
|
|
|
|
|
|
|
|
|
[tool.isort] |
|
|
|
[tool.ruff] |
|
|
|
line_length=79 |
|
|
|
# see https://github.com/charliermarsh/ruff |
|
|
|
multi_line_output=3 |
|
|
|
select = ["ALL"] |
|
|
|
length_sort="True" |
|
|
|
ignore = [ |
|
|
|
include_trailing_comma="True" |
|
|
|
# ignored for now, should be activated in the future |
|
|
|
|
|
|
|
# docstrings |
|
|
|
|
|
|
|
"D", |
|
|
|
|
|
|
|
# flake8-annotations |
|
|
|
|
|
|
|
"ANN", |
|
|
|
|
|
|
|
# flake8-type-checking |
|
|
|
|
|
|
|
"TCH", |
|
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options] |
|
|
|
# ignored, "black" will handle this |
|
|
|
markers = [ |
|
|
|
# flake8-commas |
|
|
|
"functional: marks tests as functional (deselect with '-m \"not functional\"')", |
|
|
|
"COM", |
|
|
|
] |
|
|
|
|
|
|
|
addopts = [ |
|
|
|
# ignored, due to Windows / WSL2 setup |
|
|
|
"--strict-markers", |
|
|
|
# flake8-executable |
|
|
|
|
|
|
|
"EXE", |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# project specific ignores |
|
|
|
|
|
|
|
# flake8-import-conventions |
|
|
|
|
|
|
|
"ICN", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
fixable = ["I"] |
|
|
|
|
|
|
|
fix = true |
|
|
|
|
|
|
|
line-length=79 |
|
|
|
|
|
|
|
target-version = "py38" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.ruff.per-file-ignores] |
|
|
|
|
|
|
|
# see https://github.com/charliermarsh/ruff |
|
|
|
|
|
|
|
"tests/*" = ["FBT003", "INP001", "PLR2004", "S101"] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.ruff.pydocstyle] |
|
|
|
|
|
|
|
convention = "pep257" # Accepts: "google", "numpy", or "pep257". |