Skip to content

Commit

Permalink
Fix black formatting with pre-commit
Browse files Browse the repository at this point in the history
- Don't require a specific Python version for black because it might not be available
- Use a newer version of black where the following dependency issue has been fixed

ImportError: cannot import name '_unicodefun' from 'click' (/home/user/.cache/pre-commit/repo9r6ughsv/py_env-python3.10/lib/python3.10/site-packages/click/__init__.py)
  • Loading branch information
dobairoland authored and radimkarnis committed Aug 4, 2022
1 parent 57d7a17 commit 42c8c56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
language_version: python3.9

0 comments on commit 42c8c56

Please sign in to comment.