-
-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- isort and flake8 config - manifest template update - tox ini extension - docs build fixes - docs content fixes
- Loading branch information
Showing
12 changed files
with
64 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[settings] | ||
multi_line_output=3 | ||
include_trailing_comma=True | ||
force_grid_wrap=0 | ||
use_parentheses=True | ||
line_length=88 |
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 +1,6 @@ | ||
include HISTORY.md README.md LICENSE AUTHORS test_tablib.py | ||
recursive-include docs * | ||
recursive-include tests * | ||
include pytest.ini tox.ini .isort.cfg .coveragerc HISTORY.md README.md LICENSE AUTHORS | ||
prune docs/_build | ||
prune *.pyc | ||
prune __pycache__ |
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,3 +1,5 @@ | ||
pytest | ||
pytest-cov | ||
backports.csv; python_version < '3.0' | ||
MarkupPy | ||
odfpy | ||
|
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,11 +1,40 @@ | ||
[tox] | ||
usedevelop = true | ||
minversion = 2.4 | ||
envlist = py27, py35, py36, py37 | ||
envlist = | ||
py{27,35,36,37,38}-tests, | ||
py37-{docs,lint} | ||
|
||
[testenv] | ||
basepython = | ||
py27: python2.7 | ||
py35: python3.5 | ||
py36: python3.6 | ||
py37: python3.7 | ||
py38: python3.8 | ||
deps = | ||
pytest | ||
pytest-cov | ||
-rrequirements.txt | ||
tests: -rtests/requirements.txt | ||
docs: sphinx | ||
extras = pandas | ||
commands = pytest | ||
commands = | ||
tests: pytest {posargs:tests} | ||
docs: sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html | ||
|
||
[testenv:py37-lint] | ||
basepython = python3.7 | ||
deps = | ||
flake8 | ||
# flake8-black | ||
# flake8-isort | ||
twine | ||
check-manifest | ||
commands = | ||
# flake8 src/tablib tests/ | ||
check-manifest -v | ||
python setup.py sdist | ||
twine check dist/* | ||
|
||
[flake8] | ||
exclude = | ||
.tox | ||
ignore=E501,E127,E128,E124 |