diff --git a/.flake8 b/.flake8 index 4d4f602..f5a30d2 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,5 @@ [flake8] max-line-length=120 per-file-ignores = - __init__.py:F401 \ No newline at end of file + __init__.py:F401 + helmeos/table_param.py:E221,E222 \ No newline at end of file diff --git a/tox.ini b/tox.ini index 1e35c00..84358aa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{8,9,10,11,12,13} +envlist = flake8,py3{8,9,10,11,12,13} isolated_build = true [testenv] @@ -29,3 +29,10 @@ commands = pytest --cov=helmeos --cov-report=xml tests/ commands_post = rm -rf helmholtz + +[testenv:flake8] +description = Run flake8 for code linting +deps = flake8 +commands_pre = +commands = flake8 helmeos tests +commands_post =