Skip to content

Commit 9491ee1

Browse files
committed
Bump version v0.2.0 -> v0.2.1
1 parent 6fa54a3 commit 9491ee1

File tree

8 files changed

+19
-16
lines changed

8 files changed

+19
-16
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.2.0
2+
current_version = 0.2.1
33
commit = True
44
tag = True
55

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ coverage_pyver_pragma
101101
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/coverage_pyver_pragma
102102
:alt: GitHub top language
103103

104-
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/coverage_pyver_pragma/v0.2.0
104+
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/coverage_pyver_pragma/v0.2.1
105105
:target: https://github.com/domdfcoding/coverage_pyver_pragma/pulse
106106
:alt: GitHub commits since tagged version
107107

__pkginfo__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
2020-2021 Dominic Davis-Foster <[email protected]>
2727
"""
2828

29-
__version__ = "0.2.0"
29+
__version__ = "0.2.1"
3030
repo_root = pathlib.Path(__file__).parent
3131
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n')
3232
extras_require = {"all": []}

coverage_pyver_pragma/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
__author__: str = "Dominic Davis-Foster"
4343
__copyright__: str = "2020-2021 Dominic Davis-Foster"
4444
__license__: str = "MIT License"
45-
__version__: str = "0.2.0"
45+
__version__: str = "0.2.1"
4646
__email__: str = "[email protected]"
4747

4848
__all__ = ["DSL_EXCLUDE", "evaluate_exclude"]
@@ -53,15 +53,15 @@
5353
where ``XXX`` is an expression to be evaluated to determine whether the line
5454
should be excluded from coverage.
5555
56-
.. versionadded:: 0.2.0
56+
.. versionadded:: 0.2.1
5757
"""
5858

5959

6060
def evaluate_exclude(expression: str) -> bool:
6161
"""
6262
Evaluate the given expression to determine whether the line should be excluded from coverage.
6363
64-
.. versionadded:: 0.2.0
64+
.. versionadded:: 0.2.1
6565
6666
|
6767

doc-source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ coverage_pyver_pragma
103103
:alt: GitHub top language
104104

105105
.. |commits-since| github-shield::
106-
:commits-since: v0.2.0
106+
:commits-since: v0.2.1
107107
:alt: GitHub commits since tagged version
108108

109109
.. |commits-latest| github-shield::

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "whey"
44

55
[project]
66
name = "coverage_pyver_pragma"
7-
version = "0.2.0"
7+
version = "0.2.1"
88
description = "Plugin for Coverage.py to selectively ignore branches depending on the Python version."
99
readme = "README.rst"
1010
keywords = []

repo_helper.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repo_name: coverage_pyver_pragma
33
copyright_years: "2020-2021"
44
author: "Dominic Davis-Foster"
55
6-
version: "0.2.0"
6+
version: "0.2.1"
77
username: "domdfcoding"
88
license: 'MIT'
99
short_desc: "Plugin for Coverage.py to selectively ignore branches depending on the Python version."

tests/test_plugin.py

+10-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@
1515
import coverage_pyver_pragma
1616

1717

18-
@pytest.mark.parametrize("version", [
19-
pytest.param("3.6", marks=only_version(3.6, "Output differs on each version.")),
20-
pytest.param("3.7", marks=only_version(3.7, "Output differs on each version.")),
21-
pytest.param("3.8", marks=only_version(3.8, "Output differs on each version.")),
22-
pytest.param("3.9", marks=only_version(3.9, "Output differs on each version.")),
23-
pytest.param("3.10", marks=only_version("3.10", "Output differs on each version.")),
24-
])
18+
@pytest.mark.parametrize(
19+
"version",
20+
[
21+
pytest.param("3.6", marks=only_version(3.6, "Output differs on each version.")),
22+
pytest.param("3.7", marks=only_version(3.7, "Output differs on each version.")),
23+
pytest.param("3.8", marks=only_version(3.8, "Output differs on each version.")),
24+
pytest.param("3.9", marks=only_version(3.9, "Output differs on each version.")),
25+
pytest.param("3.10", marks=only_version("3.10", "Output differs on each version.")),
26+
]
27+
)
2528
def test_plugin(tmp_pathplus: PathPlus, file_regression: FileRegressionFixture, version):
2629
coverage_pyver_pragma.coverage_init()
2730

0 commit comments

Comments
 (0)