diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4481ea80bfd936..c2ca2111b94e99 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,3 +20,5 @@ jobs: with: python-version: "3.x" - uses: pre-commit/action@v3.0.0 + - run: pip install black + - run: black Tools/cases_generator diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 742fd146c43ec1..f4632e80332c33 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -51,6 +51,4 @@ jobs: cache: pip cache-dependency-path: Tools/requirements-dev.txt - run: pip install -r Tools/requirements-dev.txt - - name: Lint with black - run: black Tools/cases_generator - run: mypy --config-file Tools/cases_generator/mypy.ini diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt index 279d8c2dcdab42..111773f4f47378 100644 --- a/Tools/requirements-dev.txt +++ b/Tools/requirements-dev.txt @@ -1,4 +1,3 @@ # Requirements file for external linters and checks we run on # Tools/clinic and Tools/cases_generator/ in CI mypy==1.5.1 -black