Skip to content

tools: gmail

tools: gmail #2726

Workflow file for this run

name: Format
on:
push:
branches: [main]
pull_request: {}
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/[email protected]
- uses: isort/isort-action@v1
with:
isort-version: "5.12.0"
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Upgrade pip
run: |
pip install --upgrade --user pip
- name: Install code quality packages
run: |
pip install poetry
poetry env use 3.11
poetry install --only=dev
- name: Remove unused standard library imports from non-`__init__.py` files
run:
poetry run autoflake --in-place --recursive --ignore-init-module-imports .