Skip to content

Commit

Permalink
Fix Tox (#1143)
Browse files Browse the repository at this point in the history
* tox new

* update

* update

* update

* update

* update

* update

* update

* update tox.ini

* update

* update

* remove docs

* empty retrigger
  • Loading branch information
taylorfturner authored Jun 6, 2024
1 parent a909a00 commit e058a6d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ black>=24.3.0
isort==5.12.0
pre-commit==2.19.0
tox==3.25.1
tox-conda==0.10.2
types-setuptools==67.7.0.1
types-python-dateutil==2.8.19.12
types-requests==2.30.0.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ python-dateutil>=2.7.5
pytz>=2020.1
pyarrow>=1.0.1
chardet>=3.0.4
fastavro>=1.0.0.post1
fastavro>=1.1.0
python-snappy>=0.5.4
charset-normalizer>=1.3.6
psutil>=4.0.0
Expand Down
15 changes: 10 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, py310, docs, pypi-description, manifest, precom
envlist = py38, py39, py310, pypi-description, manifest, precom


[testenv]
Expand All @@ -18,30 +18,35 @@ deps =
commands =
python3 -m pytest dataprofiler/tests/ --cov=dataprofiler --cov-fail-under=80 --cov-report=xml:dist/coverage.xml --forked

# add "docs" to `envlist` to run the docs build
#[testenv:docs]
#extras = docs
#changedir = docs
#commands = sphinx-build -b html source _build

[testenv:pypi-description]
skip_install = true
deps =
{[testenv]deps}
twine
wheel
pip >= 19.0.0
skip_install = true
commands =
python setup.py sdist bdist_wheel
twine check dist/*

[testenv:manifest]
deps = check-manifest
deps =
{[testenv]deps}
check-manifest
skip_install = true
commands = check-manifest

# skip isort for infinite loop issues between tox and top level settings
[testenv:precom]
skip_install = true
deps = pre-commit
deps =
{[testenv]deps}
pre-commit
commands =
pre-commit run black --all-files --verbose
# if you use the walrus operator on Python 3.8 disable the flake8 check
Expand Down

0 comments on commit e058a6d

Please sign in to comment.