diff options
author | 2019-09-24 17:32:03 -0400 | |
---|---|---|
committer | 2019-09-24 17:32:03 -0400 | |
commit | 37d989d0b74a1d0f8b0ee60749c79ea4a55ffba5 (patch) | |
tree | f1541776183c3d3850693ad20d81fb530bed3a1d /.flake8 | |
parent | Swap out old discord shield for new one. (diff) | |
parent | Merge branch 'master' into update-linting (diff) |
Merge pull request #251 from python-discord/update-linting
Update linting dependencies & relint
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,11 @@ [flake8] +max-line-length=100 docstring-convention=all +import-order-style=pycharm +application_import_names=pydis_site +exclude=__pycache__, venv, .venv, manage.py, **/migrations ignore= - P102,B311,W503,E226,S311, + B311,W503,E226,S311,T000 # Missing Docstrings D100,D104,D105,D107, # Docstring Whitespace @@ -10,11 +14,7 @@ ignore= 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 per-file-ignores = - **/tests/**:D101,D102,D103,D105,D106,S106 - -application_import_names=pydis_site -exclude=__pycache__, venv, .venv, **/migrations -import-order-style=pycharm -max-line-length=100 + **/tests/**:D1,S106,TYP |