Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/pyproject.toml
1564 views
1
[tool.pytest.ini_options]
2
markers = [
3
"slow: marks tests as slow",
4
"validates_models: marks tests as one which validates service models",
5
]
6
7
[tool.isort]
8
profile = "black"
9
line_length = 79
10
honor_noqa = true
11
src_paths = ["awscli", "tests"]
12
13
[tool.ruff]
14
exclude = [
15
".bzr",
16
".direnv",
17
".eggs",
18
".git",
19
".git-rewrite",
20
".hg",
21
".ipynb_checkpoints",
22
".mypy_cache",
23
".nox",
24
".pants.d",
25
".pyenv",
26
".pytest_cache",
27
".pytype",
28
".ruff_cache",
29
".svn",
30
".tox",
31
".venv",
32
".vscode",
33
"__pypackages__",
34
"_build",
35
"buck-out",
36
"build",
37
"dist",
38
"node_modules",
39
"site-packages",
40
"venv",
41
]
42
43
# Format same as Black.
44
line-length = 79
45
indent-width = 4
46
47
target-version = "py39"
48
49
[tool.ruff.lint]
50
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
51
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
52
# McCabe complexity (`C901`) by default.
53
select = ["E4", "E7", "E9", "F", "UP"]
54
ignore = []
55
56
# Allow fix for all enabled rules (when `--fix`) is provided.
57
fixable = ["ALL"]
58
unfixable = []
59
60
# Allow unused variables when underscore-prefixed.
61
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
62
63
[tool.ruff.format]
64
# Like Black, use double quotes for strings, spaces for indents
65
# and trailing commas.
66
quote-style = "preserve"
67
indent-style = "space"
68
skip-magic-trailing-comma = false
69
line-ending = "auto"
70
71
docstring-code-format = false
72
docstring-code-line-length = "dynamic"
73
74