Skip to content

Commit 78ebf84

Browse files
committed
add some new pylint rule groups
1 parent e77124b commit 78ebf84

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

python/{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ select = [
9696
"ARG", # https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg
9797
"PTH", # https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
9898
"PGH", # https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh
99+
"PLC", # https://docs.astral.sh/ruff/rules/#convention-c
100+
"PLE", # https://docs.astral.sh/ruff/rules/#error-e_1
99101
"PERF", # https://docs.astral.sh/ruff/rules/#perflint-perf
100102
"FURB", # https://docs.astral.sh/ruff/rules/#refurb-furb
101103
"RUF", # https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf
@@ -114,13 +116,13 @@ fixable = [
114116
"PT",
115117
"RSE",
116118
"SIM",
119+
"PLC",
120+
"PLE",
117121
"PERF",
118122
"FURB",
119123
"RUF"
120124
]
121125
# ANN003 - missing-type-kwargs
122-
# ANN101 - missing-type-self
123-
# ANN102 - missing-type-cls
124126
# D203 - one-blank-line-before-class
125127
# D205 - blank-line-after-summary
126128
# D206 - indent-with-spaces*
@@ -136,7 +138,7 @@ fixable = [
136138
# S321 - suspicious-ftp-lib-usage
137139
# *ignored for compatibility with formatter
138140
ignore = [
139-
"ANN003", "ANN101", "ANN102",
141+
"ANN003",
140142
"D203", "D205", "D206", "D213", "D300", "D400", "D415",
141143
"E111", "E114", "E117", "E501",
142144
"W191",

0 commit comments

Comments
 (0)