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
|
[tool.mypy]
strict = true
implicit_reexport = true
[tool.ruff]
exclude = ["_", ".git"]
line-length = 80
indent-width = 4
target-version = "py310"
[tool.ruff.format]
preview = true
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
preview = true
select = ["ALL"]
fixable = ["ALL"]
ignore = [
"ANN401", # any-type, we allow typing.Any, although we shouldn't
"CPY001", # missing-copyright-notice
"D203", # no-blank-line-before-class
"D212", # multi-line-summary-first-line
"E203", # whitespace-before-punctuation, doesn't work with ruff format
"INP001", # implicit-namespace-package
"N999", # invalid-module-name
"S310", # suspicious-url-open-usage, doesn't work in 0.1.5
"S404", # suspicious-subprocess-import, not stable
"S603", # subprocess-without-shell-equals-true, false positives
"S607", # start-process-with-partial-path
]
|