From d146a4e7994df91782b8f3aee2cff021c4a83e78 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 15 Jul 2021 19:52:01 +0800 Subject: [PATCH] Remove mypy. --- .github/workflows/style_check.yml | 8 +------- .pre-commit-config.yaml | 5 ----- pyproject.toml | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/style_check.yml b/.github/workflows/style_check.yml index 6295befd6..20c3363b4 100644 --- a/.github/workflows/style_check.yml +++ b/.github/workflows/style_check.yml @@ -45,7 +45,7 @@ jobs: - name: Install Python dependencies run: | - python3 -m pip install --upgrade pip mypy black flake8 + python3 -m pip install --upgrade pip black flake8 - name: Run flake8 shell: bash @@ -60,9 +60,3 @@ jobs: working-directory: ${{github.workspace}} run: | black --check --diff . - - - name: Run mypy - shell: bash - working-directory: ${{github.workspace}} - run: | - mypy . diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8edfa9f85..792e01f02 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,11 +14,6 @@ repos: hooks: - id: isort - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.910 - hooks: - - id: mypy - - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: diff --git a/pyproject.toml b/pyproject.toml index dc3079455..0d80ed4d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,6 @@ line-length = 80 exclude = ''' /( \.git - | \.mypy_cache + | \.github )/ '''