⛩️ Mypy path and build instruction update. #137
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: Formatting | |
on: [push] | |
jobs: | |
format-all: | |
name: 📀 Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔔 Check out | |
uses: actions/checkout@v3 | |
- name: 🏗️ python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: ⬇️ Python Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.4 | |
installer-parallel: true | |
- name: ⬇️ Python Dependencies | |
run: poetry install --sync | |
- name: 🏃 autoflake, isort, black | |
run: poetry run autoflake --check . | |
- name: 🏃 isort | |
run: poetry run isort --check . | |
- name: 🏃 black | |
run: poetry run black --diff . |