[FMT] apply toml formatting hook on pyproject.toml (#3872) #11
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: "flake8" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "*" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
flake8: | |
name: run flake8 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Setup python" | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: "Install Flake8" | |
shell: bash {0} | |
run: python -m pip install --upgrade pip flake8 flake8-docstrings flake8-use-fstring | |
- name: "Run Flake8 on whole file" | |
shell: bash {0} | |
run: flake8 --verbose . |