@@ -69,20 +69,20 @@ asyncio_default_fixture_loop_scope = "function"
69
69
70
70
# Enable docstring linting using the google style guide
71
71
[tool .ruff .lint ]
72
- select = [" ALL" ]
72
+ select = [" ALL" ]
73
73
ignore = [
74
- " A001" , # Allow using words like min as variable names
75
- " A002" , # Allow using words like filter as variable names
76
- " ANN401" , # Allow Any for wrapper classes
77
- " COM812" , # Recommended to ignore these rules when using with ruff-format
78
- " FIX002" , # Allow TODO lines - consider removing at some point
79
- " FBT001" , # Allow boolean positional args
80
- " FBT002" , # Allow boolean positional args
81
- " ISC001" , # Recommended to ignore these rules when using with ruff-format
82
- " SLF001" , # Allow accessing private members
74
+ " A001" , # Allow using words like min as variable names
75
+ " A002" , # Allow using words like filter as variable names
76
+ " ANN401" , # Allow Any for wrapper classes
77
+ " COM812" , # Recommended to ignore these rules when using with ruff-format
78
+ " FIX002" , # Allow TODO lines - consider removing at some point
79
+ " FBT001" , # Allow boolean positional args
80
+ " FBT002" , # Allow boolean positional args
81
+ " ISC001" , # Recommended to ignore these rules when using with ruff-format
82
+ " SLF001" , # Allow accessing private members
83
83
" TD002" ,
84
- " TD003" , # Allow TODO lines
85
- " UP007" , # Disallowing Union is pedantic
84
+ " TD003" , # Allow TODO lines
85
+ " UP007" , # Disallowing Union is pedantic
86
86
# TODO: Enable all of the following, but this PR is getting too large already
87
87
" PLR0913" ,
88
88
" TRY003" ,
@@ -101,6 +101,9 @@ ignore = [
101
101
" UP035" ,
102
102
]
103
103
104
+ [tool .ruff ]
105
+ target-version = " py310"
106
+
104
107
[tool .ruff .lint .pydocstyle ]
105
108
convention = " google"
106
109
@@ -126,20 +129,27 @@ max-doc-length = 88
126
129
]
127
130
"examples/*" = [" D" , " W505" , " E501" , " T201" , " S101" ]
128
131
"dev/*" = [" D" , " E" , " T" , " S" , " PLR" , " C" , " SIM" , " UP" , " EXE" , " N817" ]
129
- "benchmarks/*" = [" D" , " F" , " T" , " BLE" , " FURB" , " PLR" , " E" , " TD" , " TRY" , " S" , " SIM" , " EXE" , " UP" ]
132
+ "benchmarks/*" = [
133
+ " D" ,
134
+ " F" ,
135
+ " T" ,
136
+ " BLE" ,
137
+ " FURB" ,
138
+ " PLR" ,
139
+ " E" ,
140
+ " TD" ,
141
+ " TRY" ,
142
+ " S" ,
143
+ " SIM" ,
144
+ " EXE" ,
145
+ " UP" ,
146
+ ]
130
147
"docs/*" = [" D" ]
131
148
132
149
[tool .codespell ]
133
- skip = [
134
- " ./target" ,
135
- " uv.lock" ,
136
- " ./python/tests/test_functions.py"
137
- ]
150
+ skip = [" ./target" , " uv.lock" , " ./python/tests/test_functions.py" ]
138
151
count = true
139
- ignore-words-list = [
140
- " ans" ,
141
- " IST"
142
- ]
152
+ ignore-words-list = [" ans" , " IST" ]
143
153
144
154
[dependency-groups ]
145
155
dev = [
0 commit comments