Commit 1927410
committed
chore(ruff): Manual fixes for cli/freeze.py
src/tmuxp/cli/freeze.py:109:13: TRY301 Abstract `raise` to an inner function
src/tmuxp/cli/freeze.py:109:19: TRY003 Avoid specifying long messages outside the exception class
src/tmuxp/cli/freeze.py:198:15: SIM115 Use context handler for opening files1 parent 4b1425a commit 1927410
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
| 198 | + | |
| 199 | + | |
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
0 commit comments