https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision 826304987b6dfb0acfabca32ee9b38e81211b398 authored by pyxieloustar on 17 November 2021, 16:24:26 UTC, committed by pyxieloustar on 13 December 2021, 19:39:32 UTC
1 parent ffc3292
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
setup.cfg
[metadata]
description-file = README.md

[tool:pytest]
addopts = --ignore=scripts -n auto --dist=loadfile

[flake8]
ignore = W503, E203, N806
max-line-length = 88
per-file-ignores =
    pyuvdata/tests/*.py: D
    pyuvdata/*/tests/*.py: D
    docs/*.py: D,A
    setup.py: D
# remove the following lines as functions and input variables are renamed to pep8 style:
    pyuvdata/uvdata/uvdata.py: N802
    pyuvdata/uvbeam/mwa_beam.py: N802
    pyuvdata/utils.py: N802, N803
    pyuvdata/tests/test_utils.py: D,N802
    pyuvdata/tests/__init__.py: D,N802
docstring-convention = numpy
select = C,E,W,T4,B9,F,D,A,N,RST,B
# List of other checks to consider adding:
# it's recommended to have max-complexity ~ 18
# max-complexity = 18
# flake8-eradicate
# flake8-isort
# flake8-rst
# darglint # This currently doesn't support numpy docstring style, should keep an eye on it
# flake8-copyright
# flake8-ownership
back to top