Skip to content

Commit

Permalink
Add default language version and formatting options
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Jul 5, 2024
1 parent 2033aa3 commit ee14bd3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ ci:
autofix_prs: false
autoupdate_schedule: quarterly
submodules: false

default_language_version:
python: python3.11

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand All @@ -16,13 +20,13 @@ repos:
rev: 24.2.0
hooks:
- id: black
language_version: python3.11
args: ["--check", "--diff"]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: ["--check", "--diff"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
Expand Down

0 comments on commit ee14bd3

Please sign in to comment.