Skip to content

Commit

Permalink
combine linters, run with nox
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 1, 2023
1 parent 2a578c6 commit f778006
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 28 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/black.yml

This file was deleted.

13 changes: 6 additions & 7 deletions .github/workflows/flake8.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Flake8
name: Lint

on: [push, pull_request]

jobs:

lint:
# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch. Without this if check, checks are duplicated since
Expand All @@ -15,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11

- name: Lint
run: |
pip install flake8
flake8 lessons
pip install nox
nox -s lint

0 comments on commit f778006

Please sign in to comment.