Commit f0c8c36
committed
style: disable TRY003
Disable rule that wants long exception error messages to be defined in
the Error class itself. This makes some sense for custom error classes.
However it's not appropriate to define custom error classes for every
different error case. Generally a common error class is used in such
cases, for example `RuntimeError` and `ValueError`.
Signed-off-by: James McCorrie <[email protected]>1 parent b497eb5 commit f0c8c36
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
102 | | - | |
103 | 106 | | |
104 | | - | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
0 commit comments