@@ -176,30 +176,11 @@ lint.ignore = [
176176]
177177lint.mccabe = { max-complexity = 10 }
178178
179- [tool .tox ]
180- requires = [" tox>=4" ]
181- isolated_build = true
182- env_list = [" 3.13" , " 3.12" , " 3.11" , " 3.10" ]
183-
184- [tool .tox .env_run_base ]
185- description = " Run tests with Python {base_python}"
186- runner = " uv-venv-lock-runner"
187- uv_sync_flags = [" --all-extras" ]
188- commands = [[" pytest" , " -vv" , " -n" , " auto" ]]
189-
190- [tool .typos .files ]
191- extend-exclude = [
192- " docs/README.md" # because of identifier in head section
193- ]
194-
195- [lint .flake8-bugbear ]
196- extend-immutable-calls = [" taskiq_dependencies.Depends" , " taskiq.TaskiqDepends" ]
197-
198- [lint .per-file-ignores ]
179+ [tool .ruff .lint .per-file-ignores ]
199180"taskiq/compat.py" = [
200181 " D103" # Missing docstring in public function
201182]
202- "tests/*" = [
183+ "tests/**/* " = [
203184 " S101" , # Use of assert detected
204185 " S301" , # Use of pickle detected
205186 " D103" , # Missing docstring in public function
@@ -218,9 +199,28 @@ extend-immutable-calls = ["taskiq_dependencies.Depends", "taskiq.TaskiqDepends"]
218199 " T201" # print found
219200]
220201
221- [lint .pydocstyle ]
202+ [tool .tox ]
203+ requires = [" tox>=4" ]
204+ isolated_build = true
205+ env_list = [" 3.13" , " 3.12" , " 3.11" , " 3.10" ]
206+
207+ [tool .tox .env_run_base ]
208+ description = " Run tests with Python {base_python}"
209+ runner = " uv-venv-lock-runner"
210+ uv_sync_flags = [" --all-extras" ]
211+ commands = [[" pytest" , " -vv" , " -n" , " auto" ]]
212+
213+ [tool .typos .files ]
214+ extend-exclude = [
215+ " docs/README.md" # because of identifier in head section
216+ ]
217+
218+ [tool .ruff .lint .flake8-bugbear ]
219+ extend-immutable-calls = [" taskiq_dependencies.Depends" , " taskiq.TaskiqDepends" ]
220+
221+ [tool .ruff .lint .pydocstyle ]
222222convention = " pep257"
223223ignore-decorators = [" typing.overload" ]
224224
225- [lint .pylint ]
225+ [tool . ruff . lint .pylint ]
226226allow-magic-value-types = [" int" , " str" , " float" ]
0 commit comments