Skip to content

Switch build system to flit #99

Switch build system to flit

Switch build system to flit #99

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 dependencies
run: pip install -e .[dev]
- name: Run type check using mypy
run: |
mypy
- name: Run formatting check using black
run: |
black . --check
- name : Run linting check using ruff
run: |
ruff check .
- name: Run spell check using codespell
run: |
codespell -d pynetdicom