Skip to content

Commit

Permalink
Merge pull request #1 from Kitsuya0828/feature/mypy-github-actions
Browse files Browse the repository at this point in the history
Introduce mypy GitHub Actions
  • Loading branch information
kitsuya0828 authored Jan 18, 2024
2 parents 4d93490 + 79a9656 commit 549c623
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
CI:
format:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,4 +21,18 @@ jobs:
- uses: isort/isort-action@master
with:
sortPaths: "./src"
configuration: --check-only --diff --profile=black --skip-gitignore
configuration: --check-only --diff --profile=black --skip-gitignore

lint:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Checkout
uses: actions/checkout@v4
- name: Install mypy
run: pip install mypy
- name: Run mypy
run: mypy ./src --ignore-missing-imports

0 comments on commit 549c623

Please sign in to comment.