Use requirements-dev.txt for type-check job and disable misc mypy error

This commit is contained in:
Bu5hm4nn
2026-03-22 10:37:59 +01:00
parent 7dc5b3d734
commit d477aa0458
2 changed files with 2 additions and 3 deletions

View File

@@ -60,7 +60,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run mypy
run: mypy app scripts --ignore-missing-imports

View File

@@ -22,7 +22,7 @@ extend-exclude = '''
[tool.mypy]
ignore_missing_imports = true
disable_error_code = ["attr-defined"]
disable_error_code = ["attr-defined", "misc"]
[tool.pytest.ini_options]
testpaths = ["tests"]