Skip to content

Commit

Permalink
Update tox to not use deprecated testpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
borntohonk committed Dec 14, 2024
1 parent d97f678 commit b488039
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion medusa/updater/update_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
from __future__ import unicode_literals

import logging
from packaging.version import Version

from github import GithubException

from medusa import app
from medusa.logger.adapters.style import BraceAdapter

from packaging.version import Version

from requests.exceptions import RequestException


Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jsonrpclib-pelix==0.4.3.2
knowit==0.4.0
Mako==1.2.4
markdown2==2.4.13
packaging==24.2
profilehooks==1.12.0
PyGithub==1.45
PyJWT==2.7.0
Expand Down
1 change: 1 addition & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pycodestyle==2.8.0
flake8-docstrings==1.7.0
flake8-import-order==0.18.2
flake8-quotes==3.3.2
packaging
pep8-naming==0.13.2
pytest>=6.2.5
pytest-cov==4.1.0
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ deps =
pytest
-rtest_requirements.txt
commands =
python setup.py test -a "{posargs:tests} --cov=medusa --cov-report=xml"
pytest {posargs:tests} --cov=medusa --cov-report=xml

[testenv:lint]
deps =
pytest
-rtest_requirements.txt
commands =
python setup.py test -a "medusa --flake8"
pytest medusa --flake8

0 comments on commit b488039

Please sign in to comment.