python-dependency-injector/tox.ini

107 lines
1.8 KiB
INI
Raw Normal View History

2015-03-17 17:21:34 +03:00
[tox]
2015-03-18 15:50:45 +03:00
envlist=
coveralls, pylint, flake8, pydocstyle, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3
2015-03-17 17:21:34 +03:00
2015-03-18 01:38:54 +03:00
[testenv]
deps=
# TODO: Hotfix, remove when fixed https://github.com/aio-libs/aiohttp/issues/5107
typing_extensions
2020-12-06 05:36:30 +03:00
httpx
2020-12-06 05:49:54 +03:00
fastapi
numpy
scipy
2021-03-06 16:16:02 +03:00
boto3
mypy_boto3_s3
2020-06-25 04:23:29 +03:00
extras=
yaml
pydantic
Readme update (#263) * 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
2020-07-11 19:15:00 +03:00
flask
aiohttp
2015-10-12 17:52:30 +03:00
commands=
python -m unittest discover -s tests/unit -p test_*_py3*.py
2015-03-18 01:38:54 +03:00
2015-03-18 15:50:45 +03:00
[testenv:coveralls]
passenv = GITHUB_* COVERALLS_*
basepython=python3.9
2016-11-03 01:56:30 +03:00
usedevelop=True
2015-03-18 15:50:45 +03:00
deps=
{[testenv]deps}
2016-11-01 11:49:44 +03:00
cython
2015-03-18 15:50:45 +03:00
coverage
2015-03-18 01:38:54 +03:00
coveralls
2015-03-18 15:50:45 +03:00
commands=
2015-03-18 01:38:54 +03:00
coverage erase
coverage run --rcfile=./.coveragerc -m unittest discover -s tests/unit/ -p test_*_py3*.py
2016-11-03 01:56:30 +03:00
coverage report --rcfile=./.coveragerc
2015-07-21 09:48:50 +03:00
coveralls
2015-03-18 15:50:45 +03:00
[testenv:2.7]
deps=
extras=
yaml
flask
commands=
python -m unittest discover -s tests/unit -p test_*_py2_py3.py
[testenv:3.4]
deps=
extras=
flask
commands=
python -m unittest discover -s tests/unit -p test_*_py3.py
[testenv:3.5]
2020-12-06 05:49:54 +03:00
deps=
2020-06-25 04:23:29 +03:00
extras=
yaml
Readme update (#263) * 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
2020-07-11 19:15:00 +03:00
flask
commands=
python -m unittest discover -s tests/unit -p test_*_py3.py
2020-06-25 04:23:29 +03:00
[testenv:pypy2]
deps=
extras=
yaml
flask
commands=
python -m unittest discover -s tests/unit -p test_*_py2_py3.py
[testenv:pypy3]
deps=
httpx
fastapi
2021-03-06 16:16:02 +03:00
boto3
mypy_boto3_s3
extras=
yaml
flask
commands=
python -m unittest discover -s tests/unit -p test_*_py2_py3.py
[testenv:pylint]
deps=
pylint
commands=
2016-11-03 00:55:14 +03:00
- pylint -f colorized --rcfile=./.pylintrc src/dependency_injector
[testenv:flake8]
deps=
flake8
commands=
2016-11-03 00:55:14 +03:00
flake8 --max-complexity=10 src/dependency_injector/
2016-02-08 01:29:41 +03:00
flake8 --max-complexity=10 examples/
2016-02-28 17:01:20 +03:00
[testenv:pydocstyle]
deps=
2016-02-28 17:01:20 +03:00
pydocstyle
commands=
2016-11-03 00:55:14 +03:00
pydocstyle src/dependency_injector/
2016-02-28 17:01:20 +03:00
pydocstyle examples/
[testenv:mypy]
deps=
mypy
commands=
mypy tests/typing