Skip to content

Commit

Permalink
2.1.5 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jslay88 authored Apr 12, 2022
1 parent 48d0644 commit 8a9e84d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="qbt_migrate",
version="2.1.4",
version="2.1.5",
packages=find_packages(),
install_requires=dependencies,
description="Migrate qBittorrent FastResume files.",
Expand Down
23 changes: 17 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ basepython=python3.9
deps=
lint: {[lint-config]deps}
unittest: {[unittest-config]deps}
build: {[build-config]deps}

commands=
lint: {[lint-config]commands}
unittest: {[unittest-config]commands}
build: {[build-config]commands}


[lint-config]
Expand Down Expand Up @@ -69,13 +71,12 @@ commands=
coverage xml


[testenv:unittest]
# Invoke with: tox -e unittest
recreate=False
envdir={toxworkdir}/unittest
[build-config]
deps=
{[unittest-config]deps}
commands={[unittest-config]commands}
setuptools
wheel
commands=
python setup.py sdist bdist_wheel


[testenv:lint]
Expand All @@ -85,6 +86,15 @@ envdir={toxworkdir}/lint
deps={[lint-config]deps}
commands={[lint-config]commands}


[testenv:unittest]
# Invoke with: tox -e unittest
recreate=False
envdir={toxworkdir}/unittest
deps=
{[unittest-config]deps}
commands={[unittest-config]commands}

[testenv:coverage]
# Invoke with: tox -e coverage
# Report out the coverage of changes on the current branch against the main
Expand All @@ -94,6 +104,7 @@ deps=
-r{toxinidir}/requirements.txt
pytest
coverage
diff-cover
commands=
coverage xml
diff-cover coverage.xml --compare-branch=origin/master --fail-under=100

0 comments on commit 8a9e84d

Please sign in to comment.