mirror of
https://github.com/koxudaxi/datamodel-code-generator.git
synced 2024-03-18 14:54:37 +03:00
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
20 lines
549 B
YAML
20 lines
549 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: 'v0.3.2'
|
|
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.2.6
|
|
hooks:
|
|
- id: codespell
|
|
additional_dependencies:
|
|
- tomli
|
|
exclude: "^tests/"
|