feat: second version of package #24
Workflow file for this run
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: Lint | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
steps: | |
- | |
name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- | |
uses: actions/checkout@v2 | |
- | |
name: dependencies | |
run: | | |
python -m pip install poetry==1.1.7 | |
poetry install | |
- | |
name: install hooks | |
run: poetry run pre-commit install-hooks | |
- | |
name: flake8 | |
run: poetry run pre-commit run flake8 --all-files --show-diff-on-failure | |
- | |
name: pylint | |
run: poetry run pre-commit run pylint --all-files --show-diff-on-failure | |
- | |
name: mypy | |
run: poetry run pre-commit run mypy --all-files --show-diff-on-failure |