-
Notifications
You must be signed in to change notification settings - Fork 75
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 #27 from juliotrigo/add_rst_lint
Add reStructuredText linter
- Loading branch information
Showing
6 changed files
with
36 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include CHANGELOG.rst | ||
include LICENSE | ||
include README.rst | ||
|
||
global-exclude __pycache__ | ||
global-exclude *.pyc |
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,12 +1,16 @@ | ||
.PHONY: test | ||
|
||
|
||
rst-lint: | ||
rst-lint README.rst | ||
rst-lint CHANGELOG.rst | ||
|
||
flake8: | ||
flake8 sqlalchemy_filters test | ||
|
||
test: flake8 | ||
@py.test test $(ARGS) | ||
pytest test $(ARGS) | ||
|
||
coverage: flake8 | ||
coverage: flake8 rst-lint | ||
coverage run --source sqlalchemy_filters -m pytest test $(ARGS) | ||
coverage report -m --fail-under 100 |
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,12 +1,14 @@ | ||
[tox] | ||
envlist = {py27, py34, py35, py36, py37} | ||
skipdist=True | ||
skipsdist = True | ||
|
||
[testenv] | ||
whitelist_externals = make | ||
usedevelop = true | ||
extras = | ||
dev | ||
mysql | ||
deps = | ||
py27: funcsigs | ||
|
||
commands = | ||
pip install -U --editable ".[dev, mysql]" | ||
make coverage ARGS='-x -vv' |