From 242448d614a25b53c7f84464f96de748bf7ef05f Mon Sep 17 00:00:00 2001 From: "P. L. Lim" Date: Thu, 12 Oct 2017 14:39:24 -0400 Subject: [PATCH] Ignore some warnings in flake8 For my own sanity --- setup.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.cfg b/setup.cfg index 7bc2ea48..8405a514 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,3 +2,12 @@ minversion = 3.0 norecursedirs = build doc/build commissioning planning relic pysynphot/src addopts = -p no:warnings + +[flake8] +# Ignoring these for now: +# E265: block comment should start with '#' +# E266: too many leading '#' for block comment +# E501: line too long +# I100: import statements are in the wrong order +# I101: imported names are in the wrong order +ignore = E265,E266,E501,I100,I101