Convert tox to nox #21
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: flake8 lint | |
on: | |
push: | |
pull_request: | |
jobs: | |
flake8-lint: | |
runs-on: ubuntu-20.04 | |
name: flake8 lint | |
steps: | |
- name: Setup python for flake8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- uses: actions/checkout@v3 | |
- name: Install nox | |
run: python -m pip install nox | |
- name: Setup flake8 | |
run: nox --force-color -e flake8 --install-only | |
- name: Run flake8 | |
run: nox --force-color -e flake8 -vv |