Skip to content

Commit

Permalink
Update black (#167)
Browse files Browse the repository at this point in the history
* update black

* edit test dependencies

* Update noxfile.py

* update lockfile (#168)
  • Loading branch information
stephenworsley committed Mar 30, 2022
1 parent 054f5ea commit 2013e7b
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
# Don't commit to master branch.
- id: no-commit-to-branch
- repo: https://github.com/psf/black
rev: '21.12b0'
rev: '22.3.0'
hooks:
- id: black
# Force black to run on whole repo, using settings from pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def black(session: nox.sessions.Session):
"""
# Pip install the session requirements.
session.install("black==20.8b1")
session.install("black==22.3.0")
# Execute the black format checker on the package.
session.run("black", "--check", PACKAGE)
# Execute the black format checker on this file.
Expand Down

0 comments on commit 2013e7b

Please sign in to comment.