ENH: add initial particles helpers to Tao #546
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: Lint | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - uses: ./.github/actions/conda-setup | |
| with: | |
| python-version: "3.12" | |
| - name: Check that pip is our conda pip | |
| run: which pip | |
| - name: Install pre-commit | |
| run: python -m pip install pre-commit | |
| - name: List Python package versions | |
| run: python -m pip freeze --local | |
| - name: Run pre-commit on all files | |
| shell: bash -l {0} | |
| env: | |
| RUFF_OUTPUT_FORMAT: github | |
| run: | | |
| pre-commit run \ | |
| --show-diff-on-failure \ | |
| --color=always \ | |
| --all-files |