Skip to content

Fix close guarded io types for 3.9 #17

Fix close guarded io types for 3.9

Fix close guarded io types for 3.9 #17

Workflow file for this run

name: CI
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: [3.9, '3.10', '3.11', '3.12']
steps:
- name: Setup Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Fetch httppubsubserver
uses: actions/checkout@v4
- name: Generic python setup
run: |
python -m pip install --upgrade pip
- name: Installing dependencies
run: |
python -m pip install -r requirements.txt
- name: Lint httppubsubserver with black
run: |
python -m black --check src/httppubsubserver
- name: Type check httppubsubserver with mypy
working-directory: src
run: |
mypy httppubsubserver --explicit-package-bases --disallow-untyped-defs