Commit 717a499
committed
Update pre-commit hooks and ruff config
Add and reorganize pre-commit hooks: include check-added-large-files, check-yaml, check-toml, name-tests-test (with --pytest-test-first), check-merge-conflict; replace setup-cfg-fmt with pyproject-fmt and add validate-pyproject. Bump astral-sh/ruff-pre-commit to v0.15.0. Uncomment and enable Ruff configuration in pyproject.toml (lint rules, fix, target-version, line-length, pydocstyle convention) and add [tool.pyproject-fmt] settings (max_supported_python=3.12, generate_python_version_classifiers=true, table_format="long") to control pyproject formatting behavior.1 parent 23251e4 commit 717a499
2 files changed
+30
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | | - | |
9 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
12 | 21 | | |
13 | | - | |
| 22 | + | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
19 | | - | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments