Commit 8cae7f5
Migrate ruff/mypy config to current conventions
Root pyproject.toml:
- Move [tool.ruff.per-file-ignores] and [tool.ruff.pydocstyle] under
[tool.ruff.lint.*] — top-level placement was deprecated in ruff 0.2
- Add [dependency-groups] for uv-native dev/lint/test groups
psqlpy-stress/pyproject.toml:
- Same ruff lint-namespace migration; also move isort under [tool.ruff.lint.isort]
- Add COM812 to ignore list (conflicts with ruff-format's trailing-comma style)
- Extend [tool.mypy] with ignore_missing_imports, allow_subclassing_any,
allow_untyped_calls/decorators, and warn_*=false — psqlpy-stress depends on
several untyped third-party packages (sqlalchemy, piccolo, psqlpy, asyncpg)
that lack stubs; strict mode needs these flags to stay actionable
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3a2d032 commit 8cae7f5
2 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | | - | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | | - | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
| |||
89 | 101 | | |
90 | 102 | | |
91 | 103 | | |
92 | | - | |
| 104 | + | |
93 | 105 | | |
94 | 106 | | |
95 | 107 | | |
| |||
104 | 116 | | |
105 | 117 | | |
106 | 118 | | |
107 | | - | |
| 119 | + | |
108 | 120 | | |
109 | 121 | | |
110 | 122 | | |
| |||
0 commit comments