Skip to content

Commit 0848eab

Browse files
committed
Enforce from __future__ import annotations
1 parent 16eaec8 commit 0848eab

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pyproject.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ output-format = "concise"
1212
# https://docs.astral.sh/ruff/linter/#rule-selection
1313
# pylint: https://github.com/astral-sh/ruff/issues/970
1414
select = [
15-
"I", # isort
16-
"F", # pyflakes
17-
"E", # pycodestyle errors
18-
"W", # pycodestyle warnings
19-
"PLC", # pylint convention
20-
"PLE", # pylint error
21-
"Q", # flake8-quotes
22-
"A", # flake8-builtins
15+
"I", # https://docs.astral.sh/ruff/rules/#isort-i
16+
"F", # https://docs.astral.sh/ruff/rules/#pyflakes-f
17+
"E", # https://docs.astral.sh/ruff/rules/#error-e
18+
"W", # https://docs.astral.sh/ruff/rules/#warning-w
19+
"PLC", # https://docs.astral.sh/ruff/rules/#convention-c
20+
"PLE", # https://docs.astral.sh/ruff/rules/#error-e_1
21+
"Q", # https://docs.astral.sh/ruff/rules/#flake8-quotes-q
22+
"A", # https://docs.astral.sh/ruff/rules/#flake8-builtins-a
23+
"UP", # https://docs.astral.sh/ruff/rules/#pyupgrade-up
24+
"FA" # https://docs.astral.sh/ruff/rules/#flake8-future-annotations-fa
2325
]
2426
ignore = [
2527
"E501", # line-too-long

0 commit comments

Comments
 (0)