https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision fdded632cc4f259c6f5be2dc6ea56e15ddcb0a96 authored by Bryna Hazelton on 26 May 2022, 21:59:13 UTC, committed by Matthew Kolopanis on 05 August 2022, 19:36:22 UTC
Since we set the apparent coords this is no longer possible. It's really only possible to detect this for uvh5 files and those are now fixed on read by default.
1 parent 9108557
Raw File
Tip revision: fdded632cc4f259c6f5be2dc6ea56e15ddcb0a96 authored by Bryna Hazelton on 26 May 2022, 21:59:13 UTC
Remove testing for old phase method on object
Tip revision: fdded63
.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.3.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: '5.0.2'
    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.6.0
    hooks:
      - id: black

  - repo: https://github.com/Lucas-C/pre-commit-hooks-bandit
    rev: v1.0.5
    hooks:
      - id: python-bandit-vulnerability-check
        args: [--skip, "B101", --recursive, pyuvdata]

  - repo: https://github.com/pycqa/isort
    rev: 5.10.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