Skip to content

Commit c5facd7

Browse files
DEV: Remove unused mutmut configuration (#3092)
Closes #2525.
1 parent e10ff60 commit c5facd7

File tree

6 files changed

+1
-50
lines changed

6 files changed

+1
-50
lines changed

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ __pycache__/
1212
venv/
1313
.venv/
1414

15-
#
16-
.mutmut-cache
17-
mutmut-results.*
18-
1915
# Code coverage artifacts
2016
.coverage*
2117
coverage.xml

Makefile

-7
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ test:
2323
testtype:
2424
pytest tests --cov --cov-report term-missing -vv --cov-report html --durations=3 --timeout=30 --typeguard-packages=pypdf
2525

26-
mutation-test:
27-
mutmut run
28-
29-
mutation-results:
30-
mutmut junitxml --suspicious-policy=ignore --untested-policy=ignore > mutmut-results.xml
31-
junit2html mutmut-results.xml mutmut-results.html
32-
3326
benchmark:
3427
pytest tests/bench.py
3528

mutmut-test.sh

-3
This file was deleted.

mutmut_config.py

-25
This file was deleted.

pyproject.toml

+1-6
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,11 @@ image = ["Pillow>=8.0.0"]
5353
dev = ["black", "flit", "pip-tools", "pre-commit<2.18.0", "pytest-cov", "pytest-socket", "pytest-timeout", "pytest-xdist", "wheel"]
5454
docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"]
5555

56-
[tool.mutmut]
57-
backup = false
58-
runner = "./mutmut-test.sh"
59-
tests_dir = "tests/"
60-
6156
[tool.check-wheel-contents]
6257
package = "./pypdf"
6358

6459
[tool.flit.sdist]
65-
exclude = [".github/*", "docs/*", "sample-files/.github/*", "sample-files/.gitignore", "sample-files/.pre-commit-config.yaml", "requirements/*", ".flake8", ".gitignore", ".gitmodules", ".pylintrc", "tox.ini", "make_release.py", "mutmut-test.sh", ".pre-commit-config.yaml", ".gitblame-ignore-revs", "Makefile", "mutmut_config.py"]
60+
exclude = [".github/*", "docs/*", "sample-files/.github/*", "sample-files/.gitignore", "sample-files/.pre-commit-config.yaml", "requirements/*", ".flake8", ".gitignore", ".gitmodules", ".pylintrc", "tox.ini", "make_release.py", ".pre-commit-config.yaml", ".gitblame-ignore-revs", "Makefile"]
6661
include = ["resources/", "tests/"]
6762

6863
[tool.pytest.ini_options]

setup.cfg

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
[mutmut]
2-
backup = False
3-
runner = ./mutmut-test.sh
4-
tests_dir = tests/
5-
61
[tool:check-wheel-contents]
72
package = ./pypdf
83

0 commit comments

Comments
 (0)