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.
|
|
|
# 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
|
|
|
|
# - id: end-of-file-fixer
|
|
|
|
# - id: check-added-large-files
|
|
|
|
# - id: check-yaml
|
|
|
|
- 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
|