Merge pull request #102 from ucgmsim/plot_ts #72
This file contains hidden or 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: Numpydoc Lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| numpydoc-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: fd-find | |
| version: 1.0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' # Adjust version as needed | |
| - name: Install dependencies | |
| run: | | |
| pip install numpydoc | |
| sudo apt-get install | |
| - name: Run Numpydoc Lint | |
| run: | | |
| fdfind . visualisation/ -E "__init__.py" -E ccldpy.py --extension py -x numpydoc lint |