Fix wheel build test #662
Workflow file for this run
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: Pylint | |
| on: [push, pull_request] | |
| jobs: | |
| formatting-and-linting: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip wheel | |
| pip install ".[all,dev]" | |
| - name: Run Pylint on mhkit/loads/ | |
| run: | | |
| pylint mhkit/loads/ | |
| - name: Run Pylint on mhkit/power/ | |
| run: | | |
| pylint mhkit/power/ | |
| - name: Run Pylint on mhkit/utils/ | |
| run: | | |
| pylint mhkit/utils/ | |
| - name: Run Pylint on mhkit/acoustics/ | |
| run: | | |
| pylint mhkit/acoustics/ | |
| - name: Run Pylint on mhkit/tidal/ | |
| run: | | |
| pylint mhkit/tidal/ | |
| - name: Run Pylint on mhkit/river/ | |
| run: | | |
| pylint --extension-pkg-allow-list=netCDF4 mhkit/river/ | |
| - name: Run Pylint on mhkit/wave/io/hindcast/ | |
| run: | | |
| pylint mhkit/wave/io/hindcast/ |