From f2836c24eeeea4f6caab6213fa5f83a15eace8c1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Oct 2022 17:28:57 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.0) - [github.com/asottile/pyupgrade: v2.37.3 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.2) - [github.com/pre-commit/mirrors-mypy: v0.971 → v0.981](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v0.981) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8cbd0ae..a84ca6c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v2.7.1" + rev: "v3.0.0-alpha.0" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] @@ -55,7 +55,7 @@ repos: args: ["-a", "from __future__ import annotations"] - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v2.38.2 hooks: - id: pyupgrade args: ["--py37-plus"] @@ -84,7 +84,7 @@ repos: additional_dependencies: *flake8_dependencies - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v0.981 hooks: - id: mypy files: riemapp From c0f54a5af04c6b1a035a143df8f928725724ebe1 Mon Sep 17 00:00:00 2001 From: Saransh Date: Tue, 4 Oct 2022 00:02:02 +0530 Subject: [PATCH 2/2] Revert `python-version` to `3.x` --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a0a6dc..dfbc7bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v4 with: - # TODO: Change '3.10.6' to '3.x' after updating mypy version - # See issue: https://github.com/python/mypy/issues/13627 - # "(might be included in mypy 0.980, if not it will be in mypy 0.990)" - python-version: 3.10.6 + python-version: 3.x - uses: pre-commit/action@v3.0.0 build: