Skip to content

Merge pull request #632 from FAIRmat-NFDI/inheritance-fix #3933

Merge pull request #632 from FAIRmat-NFDI/inheritance-fix

Merge pull request #632 from FAIRmat-NFDI/inheritance-fix #3933

Workflow file for this run

name: linting
on: [push]
env:
python-version: 3.11
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv and set the python version to ${{ env.python-version }}
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ env.python-version }}
- name: Install dependencies
run: |
git submodule sync --recursive
git submodule update --init --recursive --jobs=4
- name: Install package and dev requirements
run: |
uv pip install .[dev]
- name: ruff check
run: |
ruff check src/pynxtools tests
- name: ruff format
run: |
ruff format --check src/pynxtools tests
- name: mypy
run: |
mypy src/pynxtools tests