We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566f350 commit 8af2a59Copy full SHA for 8af2a59
pyproject.toml
@@ -152,10 +152,16 @@ select = [
152
"PERF", # Perflint
153
"RUF", # Ruff-specific rules
154
"D", # pydocstyle
155
+ "FA100", # future annotations
156
]
157
ignore = [
158
"COM812", # missing trailing comma, ruff format conflict
159
160
+extend-safe-fixes = [
161
+ "UP006",
162
+ "UP007",
163
+]
164
+pyupgrade.keep-runtime-typing = false
165
166
[tool.ruff.lint.pydocstyle]
167
convention = "numpy"
@@ -165,6 +171,9 @@ known-first-party = [
171
"g",
172
173
combine-as-imports = true
174
+required-imports = [
175
+ "from __future__ import annotations",
176
168
177
169
178
[tool.ruff.lint.per-file-ignores]
170
179
"*/__init__.py" = ["F401"]
0 commit comments