-
Notifications
You must be signed in to change notification settings - Fork 1
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
fcdd03b
commit 520fa2d
Showing
6 changed files
with
111 additions
and
104 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,86 +1,95 @@ | ||
repos: | ||
- hooks: | ||
- args: | ||
- --markdown-linebreak-ext=md,markdown | ||
id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: fix-byte-order-marker | ||
- id: check-merge-conflict | ||
- id: debug-statements | ||
- id: detect-private-key | ||
- id: check-builtin-literals | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-executables-have-shebangs | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-symlinks | ||
- args: | ||
- --fix=lf | ||
id: mixed-line-ending | ||
- exclude: ^\.(vscode|devcontainer)/ | ||
id: check-json | ||
- args: | ||
- --indent | ||
- '4' | ||
- --autofix | ||
- --no-sort-keys | ||
exclude: ^\.(vscode|devcontainer)/ | ||
id: pretty-format-json | ||
- id: check-toml | ||
repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c | ||
- repo: https://github.com/bwhmather/ssort | ||
rev: dcb59fdb9b46ed1bb8e6ca2107e35f76cdc9c97e # frozen: 0.12.4 | ||
hooks: | ||
- id: ssort | ||
- hooks: | ||
- id: black | ||
repo: https://github.com/psf/black | ||
rev: 8fe627072f15ff2e3d380887b92f7868efaf6d05 | ||
- hooks: | ||
- id: isort | ||
repo: https://github.com/pycqa/isort | ||
rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 | ||
- hooks: | ||
- id: python-no-eval | ||
- id: python-no-log-warn | ||
repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 | ||
- hooks: | ||
- id: flynt | ||
repo: https://github.com/ikamensh/flynt | ||
rev: 651c822fdcf45fffcf9743dc755085f32acb65e3 | ||
- hooks: | ||
- args: | ||
- --py38-plus | ||
id: pyupgrade | ||
repo: https://github.com/asottile/pyupgrade | ||
rev: 12af25eb252deaaecb6b259df40d01f42e716dc3 | ||
- hooks: | ||
- additional_dependencies: | ||
- tomli ; python_version < '3.11' | ||
id: auto-walrus | ||
repo: https://github.com/MarcoGorelli/auto-walrus | ||
rev: 7855759486496a3248e9ff37dce7c6d57d39bfce | ||
- hooks: | ||
- additional_dependencies: | ||
- tomli ; python_version < '3.11' | ||
id: codespell | ||
repo: https://github.com/codespell-project/codespell | ||
rev: 6e41aba91fb32e9feb741a6258eefeb9c6e4a482 | ||
- hooks: | ||
- id: commitizen | ||
repo: https://github.com/commitizen-tools/commitizen | ||
rev: 7c0bc1591103b1f089aab9810fc2a201ccb0552b | ||
- hooks: | ||
- entry: hatch run python3 -m mypy | ||
exclude: tests/.* | ||
id: mypy | ||
language: system | ||
name: mypy | ||
types: | ||
- python | ||
repo: local | ||
- hooks: | ||
- args: | ||
- --markdown-linebreak-ext=md,markdown | ||
id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: fix-byte-order-marker | ||
- id: check-merge-conflict | ||
- id: debug-statements | ||
- id: detect-private-key | ||
- id: check-builtin-literals | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-executables-have-shebangs | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-symlinks | ||
- args: | ||
- --fix=lf | ||
id: mixed-line-ending | ||
- exclude: ^\.(vscode|devcontainer)/ | ||
id: check-json | ||
- args: | ||
- --indent | ||
- '4' | ||
- --autofix | ||
- --no-sort-keys | ||
exclude: ^\.(vscode|devcontainer)/ | ||
id: pretty-format-json | ||
- id: check-toml | ||
repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c | ||
- repo: https://github.com/bwhmather/ssort | ||
rev: 202524364c6ba81752b4fa9c77f16c9ccd5a5e28 # frozen: 0.13.0 | ||
hooks: | ||
- id: ssort | ||
- hooks: | ||
- id: black | ||
repo: https://github.com/psf/black | ||
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2 | ||
- hooks: | ||
- id: isort | ||
repo: https://github.com/pycqa/isort | ||
rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 | ||
- hooks: | ||
- id: python-no-eval | ||
- id: python-no-log-warn | ||
repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 | ||
- hooks: | ||
- id: flynt | ||
repo: https://github.com/ikamensh/flynt | ||
rev: 651c822fdcf45fffcf9743dc755085f32acb65e3 | ||
- hooks: | ||
- args: | ||
- --py38-plus | ||
id: pyupgrade | ||
repo: https://github.com/asottile/pyupgrade | ||
rev: 12af25eb252deaaecb6b259df40d01f42e716dc3 | ||
- hooks: | ||
- additional_dependencies: | ||
- tomli ; python_version < '3.11' | ||
id: auto-walrus | ||
repo: https://github.com/MarcoGorelli/auto-walrus | ||
rev: ba0661836089a532a710f68713a3e3e53f7f0113 # frozen: 0.3.4 | ||
- hooks: | ||
- additional_dependencies: | ||
- tomli ; python_version < '3.11' | ||
id: codespell | ||
repo: https://github.com/codespell-project/codespell | ||
rev: 6e41aba91fb32e9feb741a6258eefeb9c6e4a482 | ||
- hooks: | ||
- id: commitizen | ||
repo: https://github.com/commitizen-tools/commitizen | ||
rev: 9d17f393228f6c60793b4929d910e3b1f0fcb1ad # frozen: v3.25.1 | ||
- hooks: | ||
- entry: hatch run python3 -m mypy | ||
exclude: tests/.* | ||
id: mypy | ||
language: system | ||
name: mypy | ||
types: | ||
- python | ||
repo: local | ||
- repo: https://github.com/andreoliwa/nitpick | ||
rev: '36d4912df1f0bd2ed8cc535b57c5ba3b09ce3d46' # frozen: v0.35.0 | ||
hooks: | ||
- id: nitpick | ||
minimum_pre_commit_version: 2.18.0 | ||
default_install_hook_types: | ||
- pre-commit | ||
- pre-push | ||
- commit-msg |
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
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