-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathruff.toml
More file actions
43 lines (41 loc) · 905 Bytes
/
ruff.toml
File metadata and controls
43 lines (41 loc) · 905 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
39
40
41
42
43
# Directories that we want to exclude from all `ruff` operations.
exclude = [
# Submodules are responsible for their own linting.
"submodules",
"reboot/server/sha1",
"examples",
# A variety of commonly excluded directories, copied from `ruff`'s default
# config; see: https://docs.astral.sh/ruff/configuration/.
".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",
]
[lint]
# Linting error codes that we want to ignore.
ignore = [
# Ignore bare excepts; there are too many legitimate uses for these in our code.
"E722"
]