Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Modifying flake8 config to check for explicit files/directories. (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMeemus committed May 16, 2017
1 parent 4060f8b commit d3c0aa9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions setup.cfg
Expand Up @@ -11,10 +11,17 @@ ignore =
E501,
# F401, imported but unused, ignore where we import setup.
F401,
# E402 module level import not at top of file. To maintain py2 - 3 compat certain orders of import is necessary.
# E402 module level import not at top of file.
# To maintain py2 - 3 compat certain orders of import is necessary.
E402,
exclude =
./build,
./dist,
./doc,
./.tox

# Explicitly specifying what files/directories we check
# in case user creates a virtual environment in repo,
# forgoing the need for them to modify this file to ignore their venv directory.
filename =
./mssqlscripter/*.py,
./mssqltoolsservice/*.py,
./dev_setup.py,
./setup.py,
./utility.py,
./verify_packaging.py
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -20,7 +20,7 @@ deps=
install_commands =
commands=
# Run code format check.
flake8 .
flake8

# Run unit tests with code coverage.
pytest --cov-report xml --cov mssqlscripter
Expand Down

0 comments on commit d3c0aa9

Please sign in to comment.