-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89e546b
commit bad6541
Showing
5 changed files
with
78 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.5.0 | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-merge-conflict | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.5.1 | ||
hooks: | ||
- id: python-check-blanket-noqa | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
|
||
- repo: local | ||
hooks: | ||
- id: flake8 | ||
name: Flake8 | ||
description: This hook runs flake8 within our project's poetry environment. | ||
entry: poetry run flake8 | ||
- id: isort | ||
name: isort | ||
description: This hook runs isort within our project's environment. | ||
entry: poetry run isort | ||
language: system | ||
types: [python] | ||
require_serial: true | ||
|
||
- id: ruff | ||
name: ruff | ||
description: Run ruff linting | ||
entry: poetry run ruff check --force-exclude | ||
language: system | ||
'types_or': [python, pyi] | ||
require_serial: true | ||
args: [--fix, --exit-non-zero-on-fix] |
Oops, something went wrong.