Skip to content

Commit

Permalink
Add pep8-naming (#298)
Browse files Browse the repository at this point in the history
* Add addon

* Ignore all the variable names

* Add addon

* Ignore all the variable names

* Move ignores to setup.cfg
  • Loading branch information
fealho authored Nov 23, 2021
1 parent d16f540 commit b81f91a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ exclude = docs, .git, __pycache__, .ipynb_checkpoints
extend-ignore = D107,
D413, # Missing docstring in __init__
DUO103, # insecure use of "pickle" or "cPickle"
N803, # argument name 'X' should be lowercase
N806, # variable 'X' in function should be lowercase
W503,
VNE001, # Single letter variable names are not allowed
SFS3 # String literal formatting using f-string.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
'flake8-debugger>=4.0.0,<4.1',
'flake8-mock>=0.3,<0.4',
'flake8-mutable>=1.2.0,<1.3',
'pep8-naming>=0.12.1,<0.13',
'dlint>=0.11.0,<0.12',
'flake8-docstrings>=1.5.0,<2',
'pydocstyle>=6.1.1,<6.2',
Expand Down

0 comments on commit b81f91a

Please sign in to comment.