From bd00c0dba808640ee4f2e5df01bc4e844a9a4c9c Mon Sep 17 00:00:00 2001 From: checktheroads Date: Tue, 31 Dec 2019 18:30:24 -0700 Subject: [PATCH] move some flake8 configs to setup.cfg --- setup.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.cfg b/setup.cfg index ed83525..32382aa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,6 +5,13 @@ show-source=False statistics=True exclude=.git, __pycache__, filename=*.py +per-file-ignores= + # Disable string length warnings so I can actually read the commands + hyperglass/configuration/models/commands.py:E501 + # Disable string length warnings so I can actually read the messages + hyperglass/configuration/models/messages.py:E501 + # Disable classmethod warning for validator decorators + hyperglass/configuration/models/*.py:N805 ignore=W503 select=B, C, D, E, F, I, II, N, P, PIE, S, W disable-noqa=False