diff options
| author | 2019-09-09 21:06:37 -0400 | |
|---|---|---|
| committer | 2019-09-09 21:09:28 -0400 | |
| commit | 415640933d1b12d932b4c5e1e0c0814f1f8bbdb9 (patch) | |
| tree | 00679358109b259da6968d3d2ffda503b6703c4a /tox.ini | |
| parent | Merge pull request #402 from python-discord/update-contrib (diff) | |
Update linting dependencies & rules
* Add flake8-annotations
* Add flake8-docstrings
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -1,6 +1,18 @@ [flake8] max-line-length=120 application_import_names=bot -exclude=.cache,.venv -ignore=B311,W503,E226,S311,T000 +docstring-convention=all +ignore= + P102,B311,W503,E226,S311,T000 + # Missing Docstrings + D100,D104,D105,D107, + # Docstring Whitespace + D203,D212,D214,D215, + # Docstring Quotes + D301,D302, + # Docstring Content + D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417 + # Type Annotations + TYP002,TYP003,TYP101,TYP102,TYP204,TYP206 +exclude=.cache,.venv,tests,constants.py import-order-style=pycharm |