|
[tool.pytest.ini_options] |
|
markers = [ |
|
"slow: marks tests as slow", |
|
"validates_models: marks tests as one which validates service models", |
|
] |
|
|
|
[tool.isort] |
|
profile = "black" |
|
line_length = 79 |
|
honor_noqa = true |
|
src_paths = ["botocore", "tests"] |
|
|
|
[tool.ruff] |
|
exclude = [ |
|
".bzr", |
|
".direnv", |
|
".eggs", |
|
".git", |
|
".git-rewrite", |
|
".hg", |
|
".ipynb_checkpoints", |
|
".mypy_cache", |
|
".nox", |
|
".pants.d", |
|
".pyenv", |
|
".pytest_cache", |
|
".pytype", |
|
".ruff_cache", |
|
".svn", |
|
".tox", |
|
".venv", |
|
".vscode", |
|
"__pypackages__", |
|
"_build", |
|
"buck-out", |
|
"build", |
|
"dist", |
|
"node_modules", |
|
"site-packages", |
|
"venv", |
|
] |
|
|
|
|
|
line-length = 79 |
|
indent-width = 4 |
|
|
|
target-version = "py38" |
|
|
|
[tool.ruff.lint] |
|
|
|
|
|
|
|
select = ["E4", "E7", "E9", "F", "UP"] |
|
ignore = [] |
|
|
|
|
|
fixable = ["ALL"] |
|
unfixable = [] |
|
|
|
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" |
|
|
|
[tool.ruff.format] |
|
|
|
|
|
quote-style = "preserve" |
|
indent-style = "space" |
|
skip-magic-trailing-comma = false |
|
line-ending = "auto" |
|
|
|
docstring-code-format = false |
|
docstring-code-line-length = "dynamic" |
|
|