⚠️ WIP: Data on zfs1/jwd01 is moved to netapp A400 #797
Workflow file for this run
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: Python formatting | |
"on": pull_request | |
jobs: | |
PEP8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
cache-dependency-path: '.github/requirements-python-lint.txt' | |
- id: pip_install | |
run: pip install -r '.github/requirements-python-lint.txt' | |
- name: isort | |
run: isort . --check --diff | |
if: (success() || failure()) && steps.pip_install.conclusion == 'success' | |
- name: Black | |
uses: psf/black@stable | |
with: | |
version: "~=23.0" | |
options: "--check --diff" | |
src: "." | |
if: (success() || failure()) && steps.pip_install.conclusion == 'success' | |
- name: Flake8 | |
run: flake8 . | |
if: (success() || failure()) && steps.pip_install.conclusion == 'success' |