Merge pull request #1075 from lsst/tickets/DM-45993 #3874
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run docstyle | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
call-workflow: | |
uses: lsst/rubin_workflows/.github/workflows/docstyle.yaml@main | |
with: | |
args: "$(find python -name '*.py' | egrep -v 'parser/ply|parserYacc')" | |
numpydoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
- name: Install numpydoc | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install numpydoc | |
- name: Validate docstrings | |
run: python -m numpydoc.hooks.validate_docstrings $(find python -name "*.py") |