Skip to content

Commit

Permalink
Update black version in CI and pre-commit config (#1534)
Browse files Browse the repository at this point in the history
* Fix black version in Code Format Check workflow of CI

* Update black version in pre-commit configuration
  • Loading branch information
mondeja committed Apr 6, 2021
1 parent 0dcb3ee commit 778233d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
- name: Black
uses: psf/black@stable # already includes args "--check --diff"
uses: psf/black@20.8b1 # already includes args "--check --diff"
flake8:
runs-on: ubuntu-latest
name: Flake8
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
- '--filter-files'
files: \.py$
- repo: https://github.com/psf/black
rev: stable
rev: 20.8b1
hooks:
- id: black
language_version: python3.6
Expand Down

0 comments on commit 778233d

Please sign in to comment.