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

46 lines
1.1 KiB

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
#- repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v4.6.0
# hooks:
# - id: trailing-whitespace
# exclude: ^data/
# - id: end-of-file-fixer
# exclude: ^data/
# - id: check-added-large-files
# exclude: ^data/
# - id: check-yaml
3 months ago
- 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: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black-jupyter
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