You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
grogu/.pre-commit-config.yaml

38 lines
935 B

3 months ago
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
#- repo: https://github.com/adrybakov/pre-commit-hooks
# rev: 0.2.0
# hooks:
# - id: license-headers
# args:
# - --license-file
# - L-HEADER
# - --update-year
# - --verbose
3 months ago
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
#- repo: https://github.com/psf/black-pre-commit-mirror
# rev: 24.4.2
# hooks:
# - id: black
# language_version: python3.9
#- repo: local
# hooks:
# - id: pytest-check
# name: pytest-check
# entry: ./.venv/bin/pytest
# language: system
# pass_filenames: false
# always_run: true