Skip to content

[MRG] Fix Windows timer resolution not resetting after Association release #78

[MRG] Fix Windows timer resolution not resetting after Association release

[MRG] Fix Windows timer resolution not resetting after Association release #78

name: pull-request-type-lint-format
on:
# pull_request:
# branches: [ main ]
jobs:
check-typing:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install --no-interaction --no-root --extras dev
- name: Run type check using mypy
run: |
poetry run mypy
- name: Run formatting check using black
run: |
poetry run black . --check
- name : Run linting check using ruff
run: |
poetry run ruff check .
- name: Run spell check using codespell
run: |
poetry run codespell -d pynetdicom