From 609d6c0a48170e8eeefca2c6f0fd55c014c7ad65 Mon Sep 17 00:00:00 2001 From: sco1 Date: Wed, 18 Sep 2019 15:46:36 -0700 Subject: Update linting rules & partially relint --- .flake8 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.flake8') diff --git a/.flake8 b/.flake8 index 605bc46e..0f1a77e2 100644 --- a/.flake8 +++ b/.flake8 @@ -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, **/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/**:D101,D102,D103,D105,D106,S106,TYP -- cgit v1.2.3