Files
PrimAITE/.pre-commit-config.yaml

36 lines
925 B
YAML
Raw Normal View History

repos:
- repo: http://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
exclude: scenario_with_placeholders/
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
2024-04-15 11:50:08 +01:00
args: ['--maxkb=5000']
- id: mixed-line-ending
- id: requirements-txt-fixer
- repo: http://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
args: [ "--line-length=120" ]
additional_dependencies:
- jupyter
- repo: http://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: [ "--profile", "black" ]
- repo: http://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings
2023-07-31 16:47:13 +01:00
- flake8-annotations
2024-04-15 11:50:08 +01:00
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout