-
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix content-hash; add pre-commit-check for poetry.
- Loading branch information
Raphael Krupinski
committed
Nov 1, 2024
1 parent
d306553
commit 298d9fb
Showing
2 changed files
with
26 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
repos: | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: 'v0.6.9' | ||
hooks: | ||
- id: ruff | ||
files: "^datamodel_code_generator|^tests" | ||
exclude: "^tests/data" | ||
args: [ --fix ] | ||
- id: ruff-format | ||
files: "^datamodel_code_generator|^tests" | ||
exclude: "^tests/data" | ||
- repo: https://github.com/codespell-project/codespell | ||
# Configuration for codespell is in pyproject.toml | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
exclude: "^tests/|^CODE_OF_CONDUCT.md" | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: 'v0.6.9' | ||
hooks: | ||
- id: ruff | ||
files: "^datamodel_code_generator|^tests" | ||
exclude: "^tests/data" | ||
args: [ --fix ] | ||
- id: ruff-format | ||
files: "^datamodel_code_generator|^tests" | ||
exclude: "^tests/data" | ||
- repo: https://github.com/codespell-project/codespell | ||
# Configuration for codespell is in pyproject.toml | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
exclude: "^tests/|^CODE_OF_CONDUCT.md" | ||
- repo: https://github.com/python-poetry/poetry | ||
rev: 1.8.3 | ||
hooks: | ||
- id: poetry-check | ||
- id: poetry-lock | ||
args: | ||
- --no-update |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.