Commit 01ec331
committed
chore(ruff): Manual fixes for cli/convert.py
src/tmuxp/cli/convert.py:64:15: TRY002 Create your own exception
src/tmuxp/cli/convert.py:64:15: TRY003 Avoid specifying long messages outside the exception class
src/tmuxp/cli/convert.py:75:5: SIM102 Use a single `if` statement instead of nested `if` statements
src/tmuxp/cli/convert.py:76:9: SIM102 Use a single `if` statement instead of nested `if` statements
src/tmuxp/cli/convert.py:81:15: SIM115 Use context handler for opening files1 parent 1927410 commit 01ec331
1 file changed
+17
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| |||
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
64 | | - | |
| 72 | + | |
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
| |||
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
79 | 89 | | |
80 | 90 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 91 | + | |
| 92 | + | |
84 | 93 | | |
0 commit comments