We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebfee85 commit eadc564Copy full SHA for eadc564
.github/workflows/python.yml
@@ -24,12 +24,16 @@ jobs:
24
cd ./backend
25
python -m pip install --upgrade pip
26
pip install ruff
27
-
28
- # Update output format to enable automatic inline annotations.
+ pip install mypy
29
- name: Check style with Ruff
30
run: |
31
32
ruff check --output-format=github .
+ - name: Check type hints with mypy
33
+ run: |
34
+ cd ./backend
35
+ pip install .
36
+ mypy --show-error-codes beets_flask
37
- name: Test with pytest
38
39
backend/pyproject.toml
@@ -83,3 +83,8 @@ pythonpath = ["."]
83
84
[tool.coverage.report]
85
omit = ["*/tests/*"]
86
+
87
88
+[tool.mypy]
89
+ignore_missing_imports = true
90
+check_untyped_defs = true
0 commit comments