aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-01-25 12:13:07 +0300
committerGravatar ChrisJL <[email protected]>2022-01-26 03:39:23 +0000
commit1fd39adbb53b14015033fcaff0cbfb4aa81c65d7 (patch)
treeda1f3fa10e7fd850c9162f2e83233cc9f3f25159 /tox.ini
parentMerge pull request #1017 from python-discord/test-actions (diff)
Clean Up Constants File
This commit moves the logging constants from the Client class to a new Logging class. Flake8 is renabled for constants, and the error it was disabled for was specifically ignored. All new errors were fixed. It also fixes a bug with __all__, which was trying to export a missing symbol due to a missing comma. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f561fcd9..61ff9616 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,5 +20,7 @@ exclude=
__pycache__,.cache,
venv,.venv,
tests,
- constants.py
+per-file-ignores =
+ # Don't require docstrings in constants
+ constants.py:D101
import-order-style=pycharm