Skip to content

Commit 25277fa

Browse files
committed
CI: enabling more strict flake8 tests
1 parent af87c33 commit 25277fa

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

setup.cfg

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -76,51 +76,7 @@ markers =
7676
[ah_bootstrap]
7777
auto_use = True
7878
79-
# We now have section for the pycodestyle command. We need to repeat the.
80-
# Rather than check all warnings, we only test for a subset of them for now.
81-
82-
# PEP8 errors/warnings:
83-
# E101 - mix of tabs and spaces
84-
# E111 - 4 spaces per indentation level
85-
# E112 - 4 spaces per indentation level
86-
# E113 - 4 spaces per indentation level
87-
# E124 - bracket does not match indentation
88-
# E201 - whitespace after '('
89-
# E202 - whitespace before ')'
90-
# E203 - whitespace before ','
91-
# E211 - whitespace before '('
92-
# E221 - multiple spaces before operator
93-
# E225 - missing whitespace around operator
94-
# E231 - missing whitespace after ','
95-
# E241 - multiple whitespace after ','
96-
# E251 - unexpected spaces around keyword / parameter equals
97-
# E261 - at least two spaces before inline comment
98-
# E265 - block comment should start with '# '
99-
# E271 - multiple spaces after keyword
100-
# E272 - multiple spaces before keyword
101-
# E301 - missing blank lines
102-
# E302 - missing blank lines
103-
# E303 - too many blank lines
104-
# E305 - missing blank lines
105-
# E502 - the backslash is redundant between brackets
106-
# E703 - statement ends with a semicolon
107-
# E711 - comparison to None should be 'if cond is None:'
108-
# E712 - comparison to True should be 'if cond is True:' or 'if cond:'
109-
# E714 - test for object identity should be 'is not'
110-
# E722 - do not use bare except
111-
# E901 - SyntaxError or IndentationError
112-
# E902 - IOError
113-
# W191 - use of tabs
114-
# W291 - trailing whitespace
115-
# W292 - no newline at end of file
116-
# W293 - trailing whitespace
117-
# W391 - blank line at end of file
118-
119-
# If you want to exclude a line from checking, simply add ' # noqa' at the
120-
# end of the line
121-
12279
[pycodestyle]
123-
select = E101,E111,E112,E113,E124,E201,E202,E203,E211,E221,E225,E231,E241,E251,E261,E265,E271,E272,E301,E302,E303,E305,E502,E703,E711,E712,E714,E722,E901,E902,W191,W291,W292,W293,W391
12480
12581
# E402 module level import not at top of file
12682
# We need to ignore this as the .conf has to be set in the __init__.py
@@ -137,7 +93,6 @@ exclude = _astropy_init.py,version.py
13793
# Stricter settings for people who use flake8 in their editors
13894
[flake8]
13995
max-line-length = 120
140-
select = F
14196
ignore = E226,E402,W503
14297
exclude = _astropy_init.py,version.py,astroquery/template_module
14398

0 commit comments

Comments
 (0)