Skip to content

Commit

Permalink
Use any python3 in pre-commit
Browse files Browse the repository at this point in the history
Unpin Python 3.10 in pre-commit configuration and use any available
Python 3 version. This fixes issues when the Python version in the
environment is not 3.10.
  • Loading branch information
santisoler committed Jun 16, 2023
1 parent e14e13e commit 17c23f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ repos:
rev: 23.1a1
hooks:
- id: black
language_version: python3.10
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
language_version: python3.10
language_version: python3
additional_dependencies: [flake8-bugbear, flake8-builtins, flake8-mutable, flake8-rst-docstrings, flake8-docstrings]


Expand Down

0 comments on commit 17c23f0

Please sign in to comment.