There was an error while loading. Please reload this page.
1 parent 24ab586 commit 300a661Copy full SHA for 300a661
pyproject.toml
@@ -7,7 +7,26 @@ disable_error_code = ["import-untyped"]
7
profile = "black"
8
9
[tool.ruff.lint]
10
+select = [
11
+ "E", # pycodestyle errors
12
+ "W", # pycodestyle warnings
13
+ "F", # pyflakes
14
+ "I", # isort
15
+ "C", # flake8-comprehensions
16
+ "B", # flake8-bugbear
17
+ "UP", # pyupgrade
18
+]
19
+ignore = [
20
+ "E501", # line too long, handled by black
21
+ "B008", # do not perform function calls in argument defaults
22
+ "C901", # too complex
23
+ "W191", # indentation contains tabs
24
+ "E741", # Ambiguous variable name
25
26
ignore-init-module-imports = true
27
28
[tool.ruff.lint.per-file-ignores]
-"__init__.py" = ["F401"]
29
+"__init__.py" = ["F401"]
30
+
31
+[tool.ruff.lint.pyupgrade]
32
+keep-runtime-typing = true
0 commit comments