Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ cram.egg-info
tags
cscope.*
.idea
.tox
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include .coveragerc .pylintrc .travis.yml Makefile MANIFEST.in
include *.md *.rst *.txt contrib/* scripts/*
exclude contrib/PKGBUILD
include tox.ini
recursive-include examples *.t
recursive-include tests *.py *.sh *.t
1 change: 1 addition & 0 deletions requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tox
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ universal = true
# E301: expected blank line
# E302: two new lines between functions/etc.
ignore = E129,E261,E301,E302

[flake8]
ignore = E129,E261,E301,E302
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def long_description():
"""Get the long description from the README"""
return open(os.path.join(sys.path[0], 'README.rst')).read()


setup(
author='Brodie Rao',
author_email='brodie@bitheap.org',
Expand Down
8 changes: 0 additions & 8 deletions tests/dist.t

This file was deleted.

7 changes: 0 additions & 7 deletions tests/pep8.t

This file was deleted.

7 changes: 0 additions & 7 deletions tests/pyflakes.t

This file was deleted.

34 changes: 34 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[tox]
envlist = py27,py34,py35,py36,pypy,pypy3,flake8,manifest
minversion = 1.9.0
skip-missing-interpreters = True

[testenv]
deps = -rrequirements.txt
commands =
make test
whitelist_externals = make

[testenv:flake8]
basepython = python3.4
commands =
flake8 setup.py cram
deps =
flake8==3.3.0
skip_install = True

[testenv:manifest]
basepython = python3.4
commands =
check-manifest
deps =
check-manifest==0.35
skip_install = True

[testenv:pep8]
basepython = python3.4
commands =
pep8 --config=setup.cfg --repeat .
deps =
pep8==1.7.0
skip_install = True