Skip to content

Commit 724fd14

Browse files
authored
Add FA ruff rule (#778)
1 parent 15718a0 commit 724fd14

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pyproject.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,15 @@ extend-exclude = ["logfire-api/logfire_api/*"]
202202

203203
[tool.ruff.lint]
204204
extend-select = [
205-
"Q",
206-
"RUF100",
207-
"C90",
208-
"UP",
209-
"I",
210-
"D",
205+
"Q", # https://docs.astral.sh/ruff/rules/#flake8-quotes-q
206+
"RUF100", # https://docs.astral.sh/ruff/rules/unused-noqa/
207+
"C90", # https://docs.astral.sh/ruff/rules/#mccabe-c90
208+
"UP", # https://docs.astral.sh/ruff/rules/#pyupgrade-up
209+
"I", # https://docs.astral.sh/ruff/rules/#isort-i
210+
"D", # https://docs.astral.sh/ruff/rules/#pydocstyle-d
211211
"DTZ005", # https://docs.astral.sh/ruff/rules/call-datetime-now-without-tzinfo/
212-
] # add "T" to disallow prints
212+
"FA", # https://docs.astral.sh/ruff/rules/#flake8-future-annotations-fa
213+
]
213214
flake8-quotes = { inline-quotes = "single", multiline-quotes = "double" }
214215
isort = { combine-as-imports = true, known-first-party = [
215216
"logfire",

0 commit comments

Comments
 (0)