diff --git a/Pipfile b/Pipfile index e32d33f..d1da32e 100644 --- a/Pipfile +++ b/Pipfile @@ -10,7 +10,7 @@ flake8-docstrings = "*" flake8-black = "*" flake8-copyright = "*" flake8-file-encoding = "*" -mypy = "1.1.1" +mypy = ">=1.20,<2" pytest = "*" pyfakefs = "*" pytest-cov = "*" diff --git a/continuous_delivery_scripts/assert_news.py b/continuous_delivery_scripts/assert_news.py index 1bd3272..f5b3422 100644 --- a/continuous_delivery_scripts/assert_news.py +++ b/continuous_delivery_scripts/assert_news.py @@ -155,7 +155,7 @@ def main() -> None: set_log_level(args.verbose) with ( - LocalProjectRepository() # type: ignore + LocalProjectRepository() if args.local else ProjectTempClone(desired_branch_name=args.current_branch) ) as git: diff --git a/news/20260604113932.bugfix b/news/20260604113932.bugfix new file mode 100644 index 0000000..21ab467 --- /dev/null +++ b/news/20260604113932.bugfix @@ -0,0 +1 @@ +:camel: Upgrade mypy