Spaces:
Sleeping
Sleeping
| # See https://pre-commit.com for more information | |
| # See https://pre-commit.com/hooks.html for more hooks | |
| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v5.0.0 | |
| hooks: | |
| #- id: check-added-large-files | |
| - id: fix-byte-order-marker | |
| - id: check-case-conflict | |
| - id: check-json | |
| - id: check-yaml | |
| args: ['--unsafe'] | |
| - id: detect-aws-credentials | |
| args: [--allow-missing-credentials] | |
| - id: detect-private-key | |
| - id: end-of-file-fixer | |
| - id: mixed-line-ending | |
| - id: trailing-whitespace | |
| - repo: https://github.com/asottile/add-trailing-comma | |
| rev: v3.1.0 | |
| hooks: | |
| - id: add-trailing-comma | |
| - repo: https://github.com/pycqa/isort | |
| rev: 5.13.2 | |
| hooks: | |
| - id: isort | |
| name: isort (python) | |
| args: [--settings-path=pyproject.toml] | |
| - id: isort | |
| name: isort (cython) | |
| types: [cython] | |
| - id: isort | |
| name: isort (pyi) | |
| types: [pyi] | |
| - repo: https://github.com/psf/black | |
| rev: 24.10.0 | |
| hooks: | |
| - id: black | |
| args: [--config=pyproject.toml] | |
| - repo: https://github.com/pycqa/flake8.git | |
| rev: 6.1.0 | |
| hooks: | |
| - id: flake8 | |
| args: [--ignore, "E203, W503", --max-line-length, "79"] | |
| - repo: https://github.com/kynan/nbstripout | |
| rev: 0.8.1 | |
| hooks: | |
| - id: nbstripout | |
| - repo: https://github.com/asottile/pyupgrade | |
| rev: v3.19.0 | |
| hooks: | |
| - id: pyupgrade | |
| args: [--py36-plus] | |