PySR / .pre-commit-config.yaml
pre-commit-ci[bot]
[pre-commit.ci] pre-commit autoupdate
70d7238 unverified
raw
history blame
745 Bytes
repos:
# General linting
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
# General formatting
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
- id: black-jupyter
# Stripping notebooks
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
# Unused imports
- repo: https://github.com/hadialqattan/pycln
rev: "v2.2.2"
hooks:
- id: pycln
# Sorted imports
- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
hooks:
- id: isort
additional_dependencies: [toml]