chemcrow_original / .pre-commit-config.yaml
stkhann's picture
Upload 6 files
dfc9ac8 verified
raw
history blame contribute delete
729 Bytes
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: check-added-large-files
# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: "v0.0.270"
# hooks:
# - id: ruff
# args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/psf/black
rev: "23.3.0"
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
hooks:
- id: isort
args: [--profile=black, "--skip=__init__.py", "--filter-files"]