diff --git a/cyclonedx_py/_internal/cli.py b/cyclonedx_py/_internal/cli.py index 135a2a3b..3f60ea2e 100644 --- a/cyclonedx_py/_internal/cli.py +++ b/cyclonedx_py/_internal/cli.py @@ -124,7 +124,7 @@ def make_argument_parser(cls, sco: ArgumentParser, **kwargs: Any) -> ArgumentPar action='store_false') scbbc: Type['BomBuilder'] - for sct, scbbc in ( # type:ignore[assignment] + for sct, scbbc in ( ('environment', EnvironmentBB), ('requirements', RequirementsBB), ('pipenv', PipenvBB), diff --git a/pyproject.toml b/pyproject.toml index 2f51c24d..6e4a649a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ pep8-naming = "0.14.1" flake8-logging = "1.6.0" isort = "5.13.2" autopep8 = "2.3.1" -mypy = "1.10.1" +mypy = "1.11.0" bandit = "1.7.9" tox = "4.16.0" # min version required to be able to install some dependencies