Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
agitator committed Jul 8, 2021
1 parent de7cc32 commit 61ef7d7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ setenv =
Plone52: version_file=test_plone52.cfg

deps =
-rrequirements.txt
Plone52: -cconstraints_plone52.txt
# Plone60: -cconstraints_plone60.txt
-requirements.txt
Plone52: -constraints_plone52.txt
# Plone60: -constraints_plone60.txt
coverage


Expand All @@ -57,7 +57,7 @@ basepython = python3.7

deps =
coverage
-cconstraints_plone52.txt
-constraints_plone52.txt

setenv =
COVERAGE_FILE=.coverage
Expand All @@ -74,7 +74,7 @@ commands =
skip_install = true

deps =
-cconstraints.txt
-constraints.txt
isort
flake8
# helper to generate HTML reports:
Expand All @@ -101,10 +101,10 @@ deps =

commands =
mkdir -p {toxinidir}/reports/flake8
- flake8 --format=html --htmldir={toxinidir}/reports/flake8 --doctests {toxinidir}/src {toxinidir}/setup.py
flake8 --doctests {toxinidir}/src {toxinidir}/setup.py
isort --check-only {toxinidir}/src {toxinidir}/setup.py
# black --check --diff -v {toxinidir}/src {toxinidir}/setup.py
- flake8 --format=html --htmldir={toxinidir}/reports/flake8 --doctests {toxinidir}/ {toxinidir}/setup.py
flake8 --doctests {toxinidir}/collective {toxinidir}/setup.py
isort --check-only {toxinidir}/collective {toxinidir}/setup.py
# black --check --diff -v {toxinidir}/ {toxinidir}/setup.py

whitelist_externals =
mkdir
Expand All @@ -114,33 +114,33 @@ whitelist_externals =
skip_install = true

deps =
-cconstraints.txt
-constraints.txt
isort

commands =
isort {toxinidir}/src {toxinidir}/setup.py
isort {toxinidir}/collective {toxinidir}/setup.py


[testenv:black-check]
basepython = python3.7
skip_install = True
deps =
-cconstraints.txt
-constraints.txt
black

commands =
black --check --diff -v src setup.py
black --check --diff -v setup.py


[testenv:black-enforce]
basepython = python3.7
skip_install = True
deps =
-cconstraints.txt
-constraints.txt
black

commands =
black -v src setup.py
black -v collective setup.py


[testenv:py37-lint]
Expand Down

0 comments on commit 61ef7d7

Please sign in to comment.