6 Commits

Author SHA1 Message Date
Richard Kubíček
4c0d03fa79 Revert "test_superfaktura_api: add type ignore for pytest"
This reverts commit d0147a0451.
2025-03-21 19:22:00 +01:00
Richard Kubíček
ff079440ac requirements_dev: specify package versions 2025-03-21 15:46:12 +01:00
Richard Kubíček
284edd3a45 ga: add mypy to requirements_dev 2025-03-21 15:41:24 +01:00
Richard Kubíček
e84426e49c ga: add mypy workflow 2025-03-13 13:42:10 +01:00
Richard Kubíček
d0147a0451 test_superfaktura_api: add type ignore for pytest 2025-03-13 13:40:12 +01:00
Richard Kubíček
11e14a8924 docs_conf: ignore by type 2025-03-13 13:40:12 +01:00
3 changed files with 29 additions and 1 deletions

24
.github/workflows/mypy.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: MyPy Type Checking
on: [push]
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Run MyPy
run: mypy .

View File

@@ -1,3 +1,4 @@
# type: ignore
# Configuration file for the Sphinx documentation builder. # Configuration file for the Sphinx documentation builder.
# #
# For the full list of built-in configuration values, see the documentation: # For the full list of built-in configuration values, see the documentation:

View File

@@ -1,4 +1,7 @@
requests~=2.32.3 requests~=2.32.3
python-dotenv~=1.0.1 python-dotenv~=1.0.1
pytest~=8.3.5 pytest~=8.3.5
pytest-cov pytest-cov~=6.0.0
mypy~=1.9.0
types-requests~=2.31
types-setuptools~=68.2