Skip to content

Separate the xml metadata json creation from the saving to FS #55

Separate the xml metadata json creation from the saving to FS

Separate the xml metadata json creation from the saving to FS #55

Workflow file for this run

name: Static analysis
on: [pull_request]
jobs:
call-secrets-analysis-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
check-with-black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --diff --color"
src: "."
check-with-ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff check --format=github . src/index_safe/*.py