From 866628830202236da3f0ca8c3023732b72b532fc Mon Sep 17 00:00:00 2001 From: Joseph Date: Sat, 24 Mar 2018 02:52:25 +0000 Subject: [PATCH 1/2] [UPDATE] Ignored a silly rule from flake8. This rule basically said that we cannot use the random module as it is insecure for cryptography, which we are not even using it for. This commit ignores this so the random module can be used. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 028645b4..9797a5cc 100644 --- a/tox.ini +++ b/tox.ini @@ -2,3 +2,4 @@ max-line-length=120 application_import_names=bot exclude=.venv +ignore=B311 From 500e1be95c58af242120f56a2f219cda09bd3650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Sand=C3=B8y?= Date: Sat, 24 Mar 2018 14:49:41 +0100 Subject: [PATCH 2/2] Adding W503 and E226 to flake8 ignore list. These are causing boilerplate not to pass CI --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9797a5cc..c9de86ca 100644 --- a/tox.ini +++ b/tox.ini @@ -2,4 +2,4 @@ max-line-length=120 application_import_names=bot exclude=.venv -ignore=B311 +ignore=B311,W503,E226