Revision 45aba49c6be40b5d0f058ac1a8afb9e776624c35 authored by pre-commit-ci[bot] on 13 December 2022, 01:11:39 UTC, committed by Bryna Hazelton on 19 December 2022, 19:15:00 UTC
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0)
- [github.com/pycqa/isort: 5.10.1 → 5.11.1](https://github.com/pycqa/isort/compare/5.10.1...5.11.1)
1 parent 669a3c7
Raw File
.pre-commit-config.yaml
exclude: '(^docs/conf.py|^docs/references/|^pyuvdata/data/|^pyuvdata/uvdata/src/|^pyuvdata/tests/Line_Profiler_full.out|.codecov.yml)'

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.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: '6.0.0'
    hooks:
      - id: flake8
        additional_dependencies:
          - flake8-bugbear
          - flake8-builtins
          - flake8-comprehensions
          - flake8-docstrings
          # - flake8-eradicate  # not currently compatible with others
          - flake8-pytest-style
          - flake8-rst-docstrings
          - pep8-naming

  - repo: https://github.com/psf/black
    rev: 22.12.0
    hooks:
      - id: black

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

  - repo: https://github.com/pycqa/isort
    rev: 5.11.1
    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
back to top