-
Notifications
You must be signed in to change notification settings - Fork 40
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
7 changed files
with
19 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flake8 |
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,2 +1 @@ | ||
-r base.txt | ||
zest.releaser[recommended]>=6.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 |
---|---|---|
@@ -1,12 +1,7 @@ | ||
-r base.txt | ||
pytest>=3.0.3 | ||
tox>=2.4.1 | ||
pytest>=8.3.3 | ||
pytest-cov>=5.0.0 | ||
coverage>=4.2 | ||
mock>=2.0.0 # For Python 2 | ||
coveralls | ||
flake8 | ||
tzlocal | ||
pylint | ||
pylama | ||
tox-direct | ||
setuptools |
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,2 @@ | ||
tox>=4 | ||
git+https://github.com/fedora-python/tox-current-env.git@0cf2785#egg=tox-current-env |
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,21 +1,19 @@ | ||
[tox] | ||
minversion = 2.3 | ||
envlist = | ||
{py26,py27,py34,py35,py36,py37,py38,py39,py310,py311,py312}-std | ||
py27-coverage | ||
minversion = 4 | ||
skipsdist = true | ||
envlist = lint,test,cov | ||
skip_missing_interpreters = true | ||
|
||
[testenv] | ||
usedevelop = true | ||
deps = | ||
-r{toxinidir}/requirements/test.txt | ||
whitelist_externals = /bin/sh | ||
setenv = | ||
COVERAGE_FILE={envdir}/coverage_report | ||
deps = -r{toxinidir}/requirements/test.txt | ||
changedir = src | ||
commands = | ||
{py26,py27,py34,py35,py36,py37,py38,py39,py310,py311}-std: py.test -v . | ||
{py27,py34,py35,py36,py37,py38,py39,py310,py311}-std: flake8 croniter/croniter.py | ||
py27-coverage: coverage erase | ||
py27-coverage: sh -c 'cd .. && coverage run $(which py.test) -v src' | ||
py27-coverage: coverage report | ||
test: py.test -v . | ||
cov: py.test --cov -v . | ||
|
||
[testenv:lint] | ||
deps = -r{toxinidir}/requirements/lint.txt | ||
changedir = src | ||
commands = flake8 croniter/croniter.py | ||
|