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 7fcce0e commit 4813f23Copy full SHA for 4813f23
configs/patterns.yml
@@ -75,11 +75,13 @@ patterns:
75
- ^keyPassphrase$
76
- ^.* = (?:None|True|False),?$
77
- ^.* = \.\.\.,?$
78
- - ^(?:this\.)?[A-Za-z_]+\,?$
+ - ^(?:(?:this|self|obj)\.)?[A-Za-z_]+\,$
79
+ - ^(?:(?:this|self|obj)\.)[A-Za-z_].*$
80
- ^(?:[a-zA-Z_]+(?:\(\))?\.)*[a-zA-Z_]+\(\)$
81
- ^(?:str|int|bool)( +#.*)?$
82
- ^[ \t]+$
83
- ^\s*(?:typing\.)?(?:[Tt]uple|[Ll]ist|[Dd]ict|Callable|Iterable|Sequence|Optional|Union)\[.*$
84
+ - ^\$\{[A-Za-z0-9_-]+\}$
85
comments:
86
- "The hardcoded password is between 12 and 32 chars long"
87
- "Some false positives in Code might appear"
0 commit comments