-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove trailing space from CapWords message
- Loading branch information
1 parent
84bf333
commit a1411ec
Showing
4 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
...src/rules/pep8_naming/snapshots/ruff_linter__rules__pep8_naming__tests__N801_N801.py.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,37 @@ | ||
--- | ||
source: crates/ruff_linter/src/rules/pep8_naming/mod.rs | ||
--- | ||
N801.py:1:7: N801 Class name `bad` should use CapWords convention | ||
N801.py:1:7: N801 Class name `bad` should use CapWords convention | ||
| | ||
1 | class bad: | ||
| ^^^ N801 | ||
2 | pass | ||
| | ||
|
||
N801.py:5:7: N801 Class name `_bad` should use CapWords convention | ||
N801.py:5:7: N801 Class name `_bad` should use CapWords convention | ||
| | ||
5 | class _bad: | ||
| ^^^^ N801 | ||
6 | pass | ||
| | ||
|
||
N801.py:9:7: N801 Class name `bad_class` should use CapWords convention | ||
N801.py:9:7: N801 Class name `bad_class` should use CapWords convention | ||
| | ||
9 | class bad_class: | ||
| ^^^^^^^^^ N801 | ||
10 | pass | ||
| | ||
|
||
N801.py:13:7: N801 Class name `Bad_Class` should use CapWords convention | ||
N801.py:13:7: N801 Class name `Bad_Class` should use CapWords convention | ||
| | ||
13 | class Bad_Class: | ||
| ^^^^^^^^^ N801 | ||
14 | pass | ||
| | ||
|
||
N801.py:17:7: N801 Class name `BAD_CLASS` should use CapWords convention | ||
N801.py:17:7: N801 Class name `BAD_CLASS` should use CapWords convention | ||
| | ||
17 | class BAD_CLASS: | ||
| ^^^^^^^^^ N801 | ||
18 | pass | ||
| | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters