From b36a9ba0bccd279132362705b80250a63687ff3d Mon Sep 17 00:00:00 2001 From: sigma67 Date: Fri, 14 Jun 2024 12:19:59 +0200 Subject: [PATCH] use mypy 3.10 --- .github/workflows/lint.yml | 2 +- src/pdm_build_locked/command.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 77ae411..eb2bcbc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,6 +26,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.10" - run: pip install mypy==1.10.0 - run: mypy --install-types --non-interactive diff --git a/src/pdm_build_locked/command.py b/src/pdm_build_locked/command.py index 9e913a5..a1c438a 100644 --- a/src/pdm_build_locked/command.py +++ b/src/pdm_build_locked/command.py @@ -103,7 +103,6 @@ def handle(self, project: Project, options: argparse.Namespace) -> None: if not project.pyproject._data["tool"]: del project.pyproject._data["tool"] - project.pyproject.write(show_message=False) self._git_ignore_pyproject(project, False)