Skip to content

Commit a3dd48e

Browse files
committed
Use flake8 for codestyle check
1 parent 6fa901c commit a3dd48e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ exclude = _astropy_init.py,version.py
129129
# Stricter settings for people who use flake8 in their editors
130130
[flake8]
131131
max-line-length = 120
132+
select = F
132133
ignore = E226,E402,W503
133-
exclude = _astropy_init.py,version.py
134+
exclude = _astropy_init.py,version.py,astroquery/template_module
134135

135136
[coverage:run]
136137
omit =

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ pip_pre =
6060
changedir = {toxinidir}
6161
skip_install = true
6262
description = check code style
63-
deps = pycodestyle
64-
commands = pycodestyle astroquery --count
63+
deps = flake8
64+
commands = flake8 astroquery --count
6565

6666
[testenv:build_docs]
6767
changedir = {toxinidir}

0 commit comments

Comments
 (0)