Skip to content

Commit

Permalink
Merge pull request #197 from ami-iit/flferretti-patch-2
Browse files Browse the repository at this point in the history
Enable `pre-commit.ci` for style checking
  • Loading branch information
flferretti committed Jul 11, 2024
2 parents 3a968ab + b79406c commit 2056e70
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 71 deletions.
66 changes: 0 additions & 66 deletions .github/workflows/style.yml

This file was deleted.

18 changes: 13 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
ci:
autofix_prs: false
autoupdate_schedule: quarterly
submodules: false

default_language_version:
python: python3

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-merge-conflict
Expand All @@ -9,19 +17,19 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.2.0
rev: 24.4.2
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
rev: v0.5.1
hooks:
- id: ruff

Expand Down

0 comments on commit 2056e70

Please sign in to comment.