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 dd45294 commit 7e6bafaCopy full SHA for 7e6bafa
pyproject.toml
@@ -201,10 +201,16 @@ select = [
201
"PERF", # Perflint
202
"RUF", # Ruff-specific rules
203
"D", # pydocstyle
204
+ "FA100", # future annotations
205
]
206
ignore = [
207
"COM812", # missing trailing comma, ruff format conflict
208
209
+extend-safe-fixes = [
210
+ "UP006",
211
+ "UP007",
212
+]
213
+pyupgrade.keep-runtime-typing = false
214
215
[tool.ruff.lint.pydocstyle]
216
convention = "numpy"
@@ -214,6 +220,9 @@ known-first-party = [
220
"vcspull",
221
222
combine-as-imports = true
223
+required-imports = [
224
+ "from __future__ import annotations",
225
217
226
218
227
[tool.ruff.lint.per-file-ignores]
219
228
"*/__init__.py" = ["F401"]
0 commit comments