Directives to not use variable names that conflict with pdb
This commit is contained in:
parent
1b44c7d46d
commit
9482127223
@ -13,7 +13,7 @@ General
|
|||||||
- Do not write "except:", use "except Exception:" at the very least
|
- Do not write "except:", use "except Exception:" at the very least
|
||||||
- Include your name with TODOs as in "#TODO(termie)"
|
- Include your name with TODOs as in "#TODO(termie)"
|
||||||
- Do not name anything the same name as a built-in or reserved word
|
- Do not name anything the same name as a built-in or reserved word
|
||||||
|
- Do declare variable names that conflict with the debugger, such as the letter 'c'
|
||||||
|
|
||||||
Imports
|
Imports
|
||||||
-------
|
-------
|
||||||
|
2
pylintrc
2
pylintrc
@ -21,6 +21,8 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$
|
|||||||
# Don't require docstrings on tests.
|
# Don't require docstrings on tests.
|
||||||
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
|
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
|
||||||
|
|
||||||
|
# Exclude variable names that conflict with debugger
|
||||||
|
bad-names=c
|
||||||
[Design]
|
[Design]
|
||||||
max-public-methods=100
|
max-public-methods=100
|
||||||
min-public-methods=0
|
min-public-methods=0
|
||||||
|
Loading…
Reference in New Issue
Block a user