biomed-multi-alignment / .pre-commit-config.yaml
matanninio's picture
first attemt on unified test - the actual use case needs to be clearer
71382c0
exclude: .*\.pdb$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args:
- "--ignore=E203,E266,E501,F405,F403,W503"
- "--statistics"
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.5
hooks:
- id: ruff
args:
- "--fix"
- "--select"
- "UP,PT,I,E"#,F,W,C90,I,N,F405,E402" # Specify the rules to select
- "--line-length"
- "88"
- "--exit-non-zero-on-fix"
- "--ignore"
- "F405,F403,E501,E402,PT018,PT015,E722,E741"
types_or: [ python, pyi] #, jupyter ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
- id: mypy
- repo: https://github.com/srstevenson/nb-clean
rev: "2.4.0"
hooks:
- id: nb-clean
args:
- --remove-empty-cells
- --preserve-cell-outputs