Commit bf06293
authored
fix: set ruff target-version to py39 and upgrade django (#555)
Set ruff target-version to py39 (minimum supported Python) instead of
py314 to prevent PEP 758 formatting (parentheses-free except clauses)
that would break compatibility with Python < 3.14.
Bump django minimum from >=5.0.8 to >=5.2.11 to resolve Dependabot
security alerts (SQL injection, DoS, directory traversal).1 parent 7b5fb68 commit bf06293
3 files changed
Lines changed: 109 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments