-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
38 lines (35 loc) · 964 Bytes
/
ruff.toml
File metadata and controls
38 lines (35 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
cache-dir = "tmp/.ruff_cache"
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", "tmp", "venv"]
indent-width = 2
line-length = 100
src = ["git_steven_homepage", "tests"]
target-version = "py313"
[lint]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
fixable = ["ALL"]
exclude = ["*.ipynb"]
ignore = [
"D203",
"D205",
"D211",
"D213",
"D400",
]
select = [
"B",
"D",
"E4",
"E7",
"E9",
"F",
"I",
]
[lint.per-file-ignores]
"tests/**/*.py" = ["D100", "D101", "D102", "D103", "D104"]
"tests/__init__.py" = ["D104"]
[format]
docstring-code-format = true
indent-style = "space"
line-ending = "lf"
quote-style = "single"
skip-magic-trailing-comma = false