Skip to content

🔘 Switch to the MIT license. #132

🔘 Switch to the MIT license.

🔘 Switch to the MIT license. #132

Workflow file for this run

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 PDM
uses: pdm-project/setup-pdm@v3
- name: ⬇️ Python Dependencies
run: pdm install -G:all
- name: 🚂 Activate environment
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH
- name: 🏃 autoflake, isort, black
run: |
autoflake -cr $(find -iname "*.py" ! -path '*/.venv/*' ! -name __init__.py) --remove-all-unused-imports
isort --profile black --check .
black --check .