diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e7142b7..d01c9122 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,6 +45,7 @@ repos: additional_dependencies: - pydantic - pydantic-settings + - pytest - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.8.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 957a3594..7e5ffc9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,10 +123,6 @@ warn_unreachable = false module = "archinstall.tui.*" warn_unreachable = false -[[tool.mypy.overrides]] -module = "tests.*" -ignore_errors = true - [[tool.mypy.overrides]] module = [ "parted", diff --git a/tests/test_args.py b/tests/test_args.py index b77e6efe..77173c09 100644 --- a/tests/test_args.py +++ b/tests/test_args.py @@ -105,7 +105,7 @@ def test_config_file_parsing( arch_config = handler.arch_config # TODO: Use the real values from the test fixture instead of clearing out the entries - arch_config.disk_config.device_modifications = [] + arch_config.disk_config.device_modifications = [] # type: ignore[union-attr] assert arch_config == ArchConfig( version=archinstall.__version__,