Skip to content

Commit

Permalink
Update tox configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Nikola Forró <nforro@redhat.com>
  • Loading branch information
nforro committed Mar 3, 2023
1 parent f3d0dac commit 40763b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lint-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pylint>=1.4.5
mypy
types-requests
types-setuptools
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.[testing]
pytest-cov
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ markers=
functional: mark a test as a functional test.
integration: mark a test as an integration test.
long_running: mark a test as a long running test.
testpaths=rebasehelper/tests
testpaths=tests

[pycodestyle]
show-source=True
Expand All @@ -33,7 +33,7 @@ commands=
pip install https://github.com/pythongssapi/python-gssapi/archive/refs/tags/v1.8.0.tar.gz
pip install -rtest-requirements.txt
py.test --verbose --color=yes \
{posargs:--cov rebasehelper --cov-report html --cov-report term}
{posargs:--cov rebasehelper --cov-report term}
deps=
cython

Expand All @@ -49,6 +49,7 @@ recreate=False
skip_install=True
commands=
pylint --rcfile=pylintrc \
--ignored-modules=rpm \
--disable=C,R \
--disable=fixme \
--disable=locally-disabled \
Expand Down

0 comments on commit 40763b4

Please sign in to comment.