Skip to content

Commit

Permalink
fix tox
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Jul 4, 2024
1 parent 4f41e50 commit 617b377
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
35 changes: 19 additions & 16 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
#
# 'tox -e requirements-dev'
#
--index-url https://artifactory.spotify.net/artifactory/api/pypi/pypi/simple/

alabaster==0.7.16
# via sphinx
babel==2.15.0
# via sphinx
cachetools==5.3.3
# via tox
certifi==2024.2.2
certifi==2024.7.4
# via requests
chardet==5.2.0
# via tox
Expand All @@ -29,15 +30,15 @@ docutils==0.20.1
# sphinx-rtd-theme
exceptiongroup==1.2.1
# via pytest
filelock==3.14.0
filelock==3.15.4
# via
# tox
# virtualenv
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.1.0
importlib-metadata==8.0.0
# via sphinx
iniconfig==2.0.0
# via pytest
Expand All @@ -49,17 +50,17 @@ markupsafe==2.1.5
# via jinja2
mdurl==0.1.2
# via markdown-it-py
mypy==1.10.0
mypy==1.10.1
# via python-snap7 (pyproject.toml)
mypy-extensions==1.0.0
# via mypy
packaging==24.0
packaging==24.1
# via
# pyproject-api
# pytest
# sphinx
# tox
platformdirs==4.2.1
platformdirs==4.2.2
# via
# tox
# virtualenv
Expand All @@ -71,15 +72,15 @@ pygments==2.18.0
# via
# rich
# sphinx
pyproject-api==1.6.1
pyproject-api==1.7.1
# via tox
pytest==8.2.0
pytest==8.2.2
# via python-snap7 (pyproject.toml)
requests==2.31.0
requests==2.32.3
# via sphinx
rich==13.7.1
# via python-snap7 (pyproject.toml)
ruff==0.4.4
ruff==0.5.0
# via python-snap7 (pyproject.toml)
snowballstemmer==2.2.0
# via sphinx
Expand Down Expand Up @@ -111,15 +112,17 @@ tomli==2.0.1
# pytest
# sphinx
# tox
tox==4.15.0
tox==4.16.0
# via python-snap7 (pyproject.toml)
types-setuptools==69.5.0.20240423
types-click==7.1.8
# via python-snap7 (pyproject.toml)
typing-extensions==4.11.0
types-setuptools==70.2.0.20240704
# via python-snap7 (pyproject.toml)
typing-extensions==4.12.2
# via mypy
urllib3==2.2.1
urllib3==2.2.2
# via requests
virtualenv==20.26.1
virtualenv==20.26.3
# via tox
zipp==3.18.1
zipp==3.19.2
# via importlib-metadata
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ commands =
# sudo pytest -m partner

[testenv:mypy]
basepython = python3.12
basepython = python3.9
deps = -r{toxinidir}/requirements-dev.txt
skip_install = true
commands = mypy {toxinidir}/snap7 {toxinidir}/tests


[testenv:lint-ruff]
basepython = python3.12
basepython = python3.9
deps = -r{toxinidir}/requirements-dev.txt
commands =
ruff check {toxinidir}/snap7 {toxinidir}/tests {toxinidir}/example
ruff format --diff {toxinidir}/snap7 {toxinidir}/tests {toxinidir}/example

[testenv:ruff]
basepython = python3.12
basepython = python3.9
deps = -r{toxinidir}/requirements-dev.txt
commands =
ruff format {toxinidir}/snap7 {toxinidir}/tests {toxinidir}/example
Expand Down

0 comments on commit 617b377

Please sign in to comment.