Skip to content

Commit 9c4352e

Browse files
Add skip
1 parent 0074bf5 commit 9c4352e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/functional/d/disallowed_name.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ def baz(): # [disallowed-name]
66
class foo(): # [disallowed-name]
77
pass
88

9-
foo = {}.keys() # [disallowed-name]
9+
foo = {}.keys() # Should raise disallowed-name once _check_name() is refactored.
1010
foo = 42 # [disallowed-name]
1111
aaa = 42 # [invalid-name]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
disallowed-name:3:0:3:7:baz:"Disallowed name ""baz""":HIGH
22
disallowed-name:6:0:6:9:foo:"Disallowed name ""foo""":HIGH
3-
disallowed-name:9:0:9:3::"Disallowed name ""foo""":HIGH
43
disallowed-name:10:0:10:3::"Disallowed name ""foo""":HIGH
54
invalid-name:11:0:11:3::"Constant name ""aaa"" doesn't conform to UPPER_CASE naming style":HIGH

0 commit comments

Comments
 (0)