Commit 84f3d34
authored
feat: add lint_message.name to oneline output (#21)
* feat: add lint_message.name to oneline output
One scenario when oneline outputs are useful is when we adopt new linters. We typically need to disable rules inline when introducing linters like mypy. This adds the message `name` so users can copy and paste the violated rules to ignore it.
* Update integration_test__simple_linter_oneline.snap1 parent 032bea6 commit 84f3d34
File tree
2 files changed
+3
-3
lines changed- src
- tests/snapshots
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments