@@ -42,7 +42,7 @@ etl = [
4242 " setuptools" , # pinned for 3.12 because yoyo-migrations still uses pkg_resources
4343]
4444tests = [" pytest>=6.0" , " pytest-cov" , " mock" , " httpx" , " deepdiff" ]
45- dev = [" pre-commit>=3.7.1" , " ruff==0.5.0 " ]
45+ dev = [" pre-commit>=3.7.1" , " ruff==0.8.6 " ]
4646docs = [
4747 " sphinx==6.1.3" ,
4848 " sphinx-autodoc-typehints==1.22.0" ,
@@ -117,10 +117,14 @@ select = [
117117 " RSE" , # https://docs.astral.sh/ruff/rules/#flake8-raise-rse
118118 " RET" , # https://docs.astral.sh/ruff/rules/#flake8-return-ret
119119 " SLF" , # https://docs.astral.sh/ruff/rules/#flake8-self-slf
120+ " SLOT" , # https://docs.astral.sh/ruff/rules/#flake8-slots-slot
120121 " SIM" , # https://docs.astral.sh/ruff/rules/#flake8-simplify-sim
121122 " ARG" , # https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg
122123 " PTH" , # https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
123124 " PGH" , # https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh
125+ " PLC" , # https://docs.astral.sh/ruff/rules/#convention-c
126+ " PLE" , # https://docs.astral.sh/ruff/rules/#error-e_1
127+ " TRY" , # https://docs.astral.sh/ruff/rules/#tryceratops-try
124128 " PERF" , # https://docs.astral.sh/ruff/rules/#perflint-perf
125129 " FURB" , # https://docs.astral.sh/ruff/rules/#refurb-furb
126130 " RUF" , # https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf
@@ -139,13 +143,14 @@ fixable = [
139143 " PT" ,
140144 " RSE" ,
141145 " SIM" ,
146+ " PLC" ,
147+ " PLE" ,
148+ " TRY" ,
142149 " PERF" ,
143150 " FURB" ,
144151 " RUF"
145152]
146153# ANN003 - missing-type-kwargs
147- # ANN101 - missing-type-self
148- # ANN102 - missing-type-cls
149154# D203 - one-blank-line-before-class
150155# D205 - blank-line-after-summary
151156# D206 - indent-with-spaces*
@@ -159,19 +164,20 @@ fixable = [
159164# E501 - line-too-long*
160165# W191 - tab-indentation*
161166# S321 - suspicious-ftp-lib-usage
167+ # PLC0206 - dict-index-missing-items
162168# *ignored for compatibility with formatter
163169ignore = [
164- " ANN003" , " ANN101 " , " ANN102 " ,
170+ " ANN003" ,
165171 " D203" , " D205" , " D206" , " D213" , " D300" , " D400" , " D415" ,
166172 " E111" , " E114" , " E117" , " E501" ,
167173 " W191" ,
168174 " S321" ,
175+ " PLC0206"
169176]
170177
171178[tool .ruff .lint .per-file-ignores ]
172179# ANN001 - missing-type-function-argument
173180# ANN2 - missing-return-type
174- # ANN102 - missing-type-cls
175181# F401 - unused-import
176182# N805 - invalid-first-argument-name-for-method
177183# D100 - undocumented-public-module
@@ -186,7 +192,6 @@ ignore = [
186192"tests/*" = [
187193 " ANN001" ,
188194 " ANN2" ,
189- " ANN102" ,
190195 " D100" ,
191196 " D102" ,
192197 " S101" ,
0 commit comments