[go: up one dir, main page]

Skip to content

Commit

Permalink
Pin Black to its latest version in the .pre-commit-config.yaml file (#…
Browse files Browse the repository at this point in the history
…235)

Fixes the warning:

    [WARNING] The 'rev' field of repo 'https://github.com/ambv/black'
    appears to be a mutable reference (moving tag / branch). Mutable
    references are never updated after first install and are not
    supported. See
    https://pre-commit.com/#using-the-latest-version-for-a-repository
    for more details. Hint: `pre-commit autoupdate` often fixes this.

Fixed by running the command "pre-commit autoupdate".
  • Loading branch information
jdufresne authored Sep 6, 2021
1 parent 90aa455 commit 3ec74e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.6.4
rev: 5.9.3
hooks:
- id: isort
args: ["--profile", "black"]
name: isort (python)
- repo: https://github.com/ambv/black
rev: stable
- repo: https://github.com/psf/black
rev: 21.8b0
hooks:
- id: black
language_version: python3.6

0 comments on commit 3ec74e3

Please sign in to comment.