Commit 0897686
committed
fix: ruff violations in api/server.py and test_db_lock_guard.py
- Remove unused get_decision_log import from server.py (F401)
- Remove unused open_db import from test_db_lock_guard.py (F401)
- Fix import sort order in test_db_lock_guard.py (I001)
- Remove unused original_monotonic variable (F841)
- Tighten pytest.raises(Exception) to pytest.raises(duckdb.Error) (B017)1 parent b96e16c commit 0897686
File tree
2 files changed
+2
-9
lines changed- packages/quant_pod/api
- tests/quant_pod
2 files changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 124 | | |
131 | 125 | | |
132 | 126 | | |
| |||
194 | 188 | | |
195 | 189 | | |
196 | 190 | | |
197 | | - | |
198 | | - | |
| 191 | + | |
| 192 | + | |
199 | 193 | | |
200 | 194 | | |
201 | 195 | | |
| |||
0 commit comments