Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
93 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[BASIC] | ||
|
||
# Regular expression matching correct method names | ||
method-rgx=[a-z_][a-z0-9_]{2,40}$ | ||
|
||
[DESIGN] | ||
|
||
max-args = 7 |
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,5 @@ | ||
[pytest] | ||
addopts = --cov orcoursetrion --cov-config .coveragerc --pep8 --pylint --cov-report term --cov-report html | ||
pep8ignore = | ||
docs/conf.py ALL | ||
norecursedirs = .git .tox .* CVS _darcs {arch} *.egg |
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,7 +1,14 @@ | ||
pytest-cov>=1.8.1 | ||
pytest-pep8>=1.0.6 | ||
pytest-flakes>=0.2 | ||
pytest>=2.6.3 | ||
# Test running requirements | ||
pytest-cov | ||
pytest-pep8 | ||
pytest-pylint | ||
pytest-watch | ||
pytest-xdist | ||
pytest | ||
ipdb | ||
ipython | ||
|
||
# Internal test requirements | ||
httpretty>=0.8.4 | ||
semantic_version>=2.3.1 | ||
mock>=1.0.1 |
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,17 @@ | ||
[tox] | ||
envlist = py27,docs | ||
|
||
[testenv] | ||
deps = | ||
-r{toxinidir}/requirements.txt | ||
-r{toxinidir}/test_requirements.txt | ||
commands = py.test {posargs} | ||
|
||
[testenv:docs] | ||
basepython = python2.7 | ||
changedir = docs | ||
|
||
deps= | ||
-r{toxinidir}/doc_requirements.txt | ||
commands= | ||
sphinx-build -W -b html -d {envtmpdir}/doctrees . {toxinidir}/docs/_build |