Skip to content

Merge commit '8bd900e8c520dacc67ef7b644d29dba1d5fe221e' into verifica… #1926

Merge commit '8bd900e8c520dacc67ef7b644d29dba1d5fe221e' into verifica…

Merge commit '8bd900e8c520dacc67ef7b644d29dba1d5fe221e' into verifica… #1926

Workflow file for this run

name: linting
on: [push]
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
git submodule sync --recursive
git submodule update --init --recursive --jobs=4
python -m pip install --upgrade pip
- name: Install package
run: |
python -m pip install --no-deps .
- name: Install dev requirements
run: |
python -m pip install -r dev-requirements.txt
- name: ruff
run: |
ruff pynxtools tests
- name: ruff formatting
run: |
ruff format --check pynxtools tests
- name: mypy
run: |
mypy pynxtools tests