Skip to content

Commit

Permalink
ci: Add back Black linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Jan 21, 2023
1 parent be108c8 commit dbb7e1e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,15 @@ jobs:
# Include `--format=github` to enable automatic inline annotations.
# Use settings from pyproject.toml.
run: ruff . --format=github --extend-exclude mesa/cookiecutter-mesa/*

lint-black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install black[jupyter]
- name: Lint with black
run: black --check --exclude=mesa/cookiecutter-mesa/* .

0 comments on commit dbb7e1e

Please sign in to comment.