https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Raw File
Tip revision: 826304987b6dfb0acfabca32ee9b38e81211b398 authored by pyxieloustar on 17 November 2021, 16:24:26 UTC
move corrections into functions; only correct in-range values
Tip revision: 8263049
.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/astral-sh/ruff-pre-commit
    rev: v0.6.3
    hooks:
      - id: ruff
      - id: ruff-format

  - repo: https://github.com/PyCQA/bandit
    rev: 1.7.9
    hooks:
      - id: bandit
        args: [--skip, "B101", --recursive, pyuvdata]
back to top