forked from jamescooke/flake8-aaa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jamescooke#54 from jamescooke/pkg-docs
General fixes and packaging adjustments
- Loading branch information
Showing
6 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
# install = Assert that plugin can be installed and run via flake8 in a clean | ||
# venv. Flake8 is called with flake8-aaa installed to lint flake8-aaa's tests | ||
# and the "good" examples | ||
# and the "good" examples (dog fooding). Test requirements do not include | ||
# flake8-aaa - the latest version is installed by tox during testing. | ||
# test = run pytest | ||
# lint = run all linting, including on the test suite. Use both py2 and py3 to | ||
# ensure that unicode loads OK. | ||
# lint = run all linting, including on the test suite | ||
# cmd = run the command line interface (no flake8 installed, just flake8-aaa) | ||
|
||
[tox] | ||
envlist = py{35,36}-{install,test,lint} | ||
envlist = py{35,36}-{install,test,lint,cmd} | ||
[testenv] | ||
deps = -rrequirements/test.txt | ||
deps = | ||
install: flake8>=3 | ||
test,lint: -rrequirements/test.txt | ||
commands = | ||
install: flake8 --version | ||
install: flake8 tests examples/good | ||
test: pytest tests | ||
lint: make lint | ||
cmd: python -m flake8_aaa examples/good/test_account_edit_view.py | ||
cmd: python -m flake8_aaa examples/good/test_django_fakery_factories.py | ||
setenv = IN_TOX = 1 | ||
whitelist_externals = make |