Revision 238718514de4efa26581e554492e34eacf3bf231 authored by Bryna Hazelton on 02 July 2024, 00:53:05 UTC, committed by Bryna Hazelton on 12 July 2024, 15:32:30 UTC
1 parent 4fe59c7
.pre-commit-config.yaml
exclude: '(^docs/conf.py|^docs/references/|^src/pyuvdata/data/|^src/pyuvdata/uvdata/src/|.codecov.yml)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
args: ['--fix=no']
- repo: https://github.com/pycqa/flake8
rev: '7.1.0'
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear>=24.2.6, <24.4
- flake8-builtins>=2.2.0
- flake8-comprehensions>=3.14.0
- flake8-docstrings>=1.7.0
# - flake8-eradicate>=1.5.0 # many false-positives
- flake8-pytest-style>=1.7.2
- flake8-rst-docstrings>=0.3.0
- pep8-naming>=0.13.3
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
hooks:
- id: bandit
args: [--skip, "B101", --recursive, pyuvdata]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
# Should add darglint, lots of work to address all the issues it finds!
# - repo: https://github.com/terrencepreilly/darglint
# rev: master
# hooks:
# - id: darglint
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...