Merge pull request #137 from stephankmin/stephan/bump-pydantic-version #10
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: Code quality | |
on: [push] | |
jobs: | |
code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-root | |
- name: Linter | |
run: poetry run flake8 | |
- name: Code Formatting | |
run: poetry run black . | |
- name: Type Check | |
run: poetry run mypy open_rarity |