Skip to content

Commit

Permalink
Fix regex for private & long functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nallath committed Jan 10, 2020
1 parent 6e13344 commit bbee2e0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,15 @@ good-names=os
# allow modules and functions to use PascalCase
module-rgx=[a-zA-Z0-9_]+$
function-rgx=
method-rgx=([a-z_][a-z0-9_]{2,30}|([a-z_][A-Za-z0-9]{2,30}))$
## Allowed methods:
# getSomething
# _getSomething
# __getSomething
# __new__
## Disallowed:
# _GET
# GetSomething
method-rgx=(_{,2}[a-z][A-Za-z0-9]*_{,2})$

[DESIGN]
# Maximum number of arguments for function / method.
Expand Down

0 comments on commit bbee2e0

Please sign in to comment.