https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision e2ca0af8b3b1104a6d80fd4c2ee61cb19ba9e046 authored by Bryna Hazelton on 21 December 2022, 21:11:05 UTC, committed by Bryna Hazelton on 29 December 2022, 17:07:16 UTC
Using `github.head_ref` in the group ensures this only cancels older PR builds because that's only defined on PRs. It falls back to run_id which is always unique. Include the workflow in the group to ensure it only cancels the same workflow jobs.
see examples at https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
1 parent 31ebcf2
Raw File
Tip revision: e2ca0af8b3b1104a6d80fd4c2ee61cb19ba9e046 authored by Bryna Hazelton on 21 December 2022, 21:11:05 UTC
add concurrency groups to GH actions to cancel prior runs on PRs only
Tip revision: e2ca0af
setup.cfg
[metadata]
description_file = README.md

[flake8]
# B905 is for using zip without the `strict` argument, which was introduced in
# python 3.10. We should probably add this check (remove it from the ignore) when we
# require 3.10.
ignore = W503, E203, N806, B905
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
# flake8-copyright
# flake8-ownership
back to top