@@ -26,6 +26,7 @@ exclude = [
26
26
" node_modules" ,
27
27
" site-packages" ,
28
28
" venv" ,
29
+ " env" ,
29
30
]
30
31
31
32
# Same as Black.
@@ -37,12 +38,12 @@ target-version = "py311"
37
38
38
39
[lint ]
39
40
select = [
40
- # https://docs.astral.sh/ruff/rules/#pyflakes-f
41
+ # https://docs.astral.sh/ruff/rules/#error-e
41
42
" E" ,
42
43
# https://docs.astral.sh/ruff/rules/#pyflakes-f
43
44
" F" ,
44
- # https://docs.astral.sh/ruff/rules/#isort-i
45
- " I " ,
45
+ # Bugbear
46
+ " B " ,
46
47
]
47
48
ignore = [
48
49
# Whitespace before ':' (conflicts with Black)
@@ -72,30 +73,3 @@ unfixable = []
72
73
73
74
# Allow unused variables when underscore-prefixed.
74
75
dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
75
-
76
- [format ]
77
- # Like Black, use double quotes for strings.
78
- quote-style = " double"
79
-
80
- # Like Black, indent with spaces, rather than tabs.
81
- indent-style = " space"
82
-
83
- # Like Black, respect magic trailing commas.
84
- skip-magic-trailing-comma = false
85
-
86
- # Like Black, automatically detect the appropriate line ending.
87
- line-ending = " auto"
88
-
89
- # Enable auto-formatting of code examples in docstrings. Markdown,
90
- # reStructuredText code/literal blocks and doctests are all supported.
91
- #
92
- # This is currently disabled by default, but it is planned for this
93
- # to be opt-out in the future.
94
- docstring-code-format = false
95
-
96
- # Set the line length limit used when formatting code snippets in
97
- # docstrings.
98
- #
99
- # This only has an effect when the `docstring-code-format` setting is
100
- # enabled.
101
- docstring-code-line-length = " dynamic"
0 commit comments