Skip to content

Commit

Permalink
DEV: Remove unused mutmut configuration (#3092)
Browse files Browse the repository at this point in the history
Closes #2525.
  • Loading branch information
stefan6419846 authored Jan 28, 2025
1 parent e10ff60 commit c5facd7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 50 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ __pycache__/
venv/
.venv/

#
.mutmut-cache
mutmut-results.*

# Code coverage artifacts
.coverage*
coverage.xml
Expand Down
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ test:
testtype:
pytest tests --cov --cov-report term-missing -vv --cov-report html --durations=3 --timeout=30 --typeguard-packages=pypdf

mutation-test:
mutmut run

mutation-results:
mutmut junitxml --suspicious-policy=ignore --untested-policy=ignore > mutmut-results.xml
junit2html mutmut-results.xml mutmut-results.html

benchmark:
pytest tests/bench.py

Expand Down
3 changes: 0 additions & 3 deletions mutmut-test.sh

This file was deleted.

25 changes: 0 additions & 25 deletions mutmut_config.py

This file was deleted.

7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,11 @@ image = ["Pillow>=8.0.0"]
dev = ["black", "flit", "pip-tools", "pre-commit<2.18.0", "pytest-cov", "pytest-socket", "pytest-timeout", "pytest-xdist", "wheel"]
docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"]

[tool.mutmut]
backup = false
runner = "./mutmut-test.sh"
tests_dir = "tests/"

[tool.check-wheel-contents]
package = "./pypdf"

[tool.flit.sdist]
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"]
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"]
include = ["resources/", "tests/"]

[tool.pytest.ini_options]
Expand Down
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[mutmut]
backup = False
runner = ./mutmut-test.sh
tests_dir = tests/

[tool:check-wheel-contents]
package = ./pypdf

Expand Down

0 comments on commit c5facd7

Please sign in to comment.