[feat] add basic template #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Check | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Python Check | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install --upgrade pip | |
- run: pip install "black<23" pylint==v3.0.0a3 mypy==v0.902 | |
- run: black --diff --check $(git ls-files '*.py') | |
- run: mypy --strict $(git ls-files '*.py') |