We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0074bf5 commit 9c4352eCopy full SHA for 9c4352e
tests/functional/d/disallowed_name.py
@@ -6,6 +6,6 @@ def baz(): # [disallowed-name]
6
class foo(): # [disallowed-name]
7
pass
8
9
-foo = {}.keys() # [disallowed-name]
+foo = {}.keys() # Should raise disallowed-name once _check_name() is refactored.
10
foo = 42 # [disallowed-name]
11
aaa = 42 # [invalid-name]
tests/functional/d/disallowed_name.txt
@@ -1,5 +1,4 @@
1
disallowed-name:3:0:3:7:baz:"Disallowed name ""baz""":HIGH
2
disallowed-name:6:0:6:9:foo:"Disallowed name ""foo""":HIGH
3
-disallowed-name:9:0:9:3::"Disallowed name ""foo""":HIGH
4
disallowed-name:10:0:10:3::"Disallowed name ""foo""":HIGH
5
invalid-name:11:0:11:3::"Constant name ""aaa"" doesn't conform to UPPER_CASE naming style":HIGH
0 commit comments