mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-21 17:16:46 +03:00
fa469618dd
* Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Add files via upload * Update README.rst * Rename Blank Diagram (1).svg to di-map.svg * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Add files via upload * Rename Blank Diagram (2).svg to di-map2.svg * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Add files via upload * Add files via upload * Rename README.svg to di-map3.svg * Update README.rst * Add files via upload * Rename README - Page 3.svg to di-map4.svg * Update README.rst * Add files via upload * Rename README - Copy of Page 3.svg to di-map5.svg * Update README.rst * Delete di-map.svg * Delete di-map2.svg * Delete di-map3.svg * Delete di-map4.svg * Update README.rst * Update README.rst * Add Github Navigator - Flask application * Do more refactoring for ghnav-flask * More refactoring * Update README * Add tests * Update readme * Add Flask extension * Add Factory.provides attribute * Add Flask extension module * User flask extension in githubnavigator example * Add README for ghnav-flask * Update ghnav-flask README * Update ghnav-flask README * Update README with ghnav container example * Move ghnav-flask to miniapps/ folder * Fix auth token reading from env for ghnav-flask * Update readme * Fix ghnav-flask linter errors * Add downloads and wheel badge * Add tests for flask extension * Fix flask tests * Add requirements-ext.txt installation to tox.ini * Add API docs for ext.flask module * Update setup.py * Add Flask to the list of keywords * Update badges on docs README * Update docs README title * Fix ext.flask tests * Fix syntax of ext.flask for Python 2.7, 3.4, 3.5 * Fix syntax of ext.flask for Python 2.7, 3.4, 3.5 * Fix imports in ext.flask for Python 2.7, 3.4, 3.5 * Update ghfnav-flask README * Update ghfnav-flask README * Remove setting of empty github token * Add flask extras * Update requirements * Update requirements * Add flask extra to python 3.4 tox.ini * Update changelog * Update changelog
60 lines
1.1 KiB
INI
60 lines
1.1 KiB
INI
[tox]
|
|
envlist=
|
|
coveralls, pylint, flake8, pydocstyle, py27, py34, py35, py36, py37, py38, pypy, pypy3
|
|
|
|
[testenv]
|
|
deps=
|
|
unittest2
|
|
extras=
|
|
yaml
|
|
flask
|
|
commands=
|
|
unit2 discover -s tests/unit -p test_*_py3.py
|
|
|
|
[testenv:coveralls]
|
|
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DEPENDENCY_INJECTOR_DEBUG_MODE
|
|
basepython=python3.6
|
|
usedevelop=True
|
|
deps=
|
|
{[testenv]deps}
|
|
cython
|
|
coverage
|
|
coveralls
|
|
commands=
|
|
coverage erase
|
|
coverage run --rcfile=./.coveragerc -m unittest2 discover -s tests/unit/ -p test_*_py3.py
|
|
coverage report --rcfile=./.coveragerc
|
|
coveralls
|
|
|
|
[testenv:py27]
|
|
commands=
|
|
unit2 discover -s tests/unit -p test_*_py2_py3.py
|
|
|
|
[testenv:py34]
|
|
extras=
|
|
flask
|
|
|
|
[testenv:pypy]
|
|
commands=
|
|
unit2 discover -s tests/unit -p test_*_py2_py3.py
|
|
|
|
[testenv:pylint]
|
|
deps=
|
|
pylint
|
|
commands=
|
|
- pylint -f colorized --rcfile=./.pylintrc src/dependency_injector
|
|
|
|
[testenv:flake8]
|
|
deps=
|
|
flake8
|
|
commands=
|
|
flake8 --max-complexity=10 src/dependency_injector/
|
|
flake8 --max-complexity=10 examples/
|
|
|
|
[testenv:pydocstyle]
|
|
deps=
|
|
pydocstyle
|
|
commands=
|
|
pydocstyle src/dependency_injector/
|
|
pydocstyle examples/
|