Skip to content

Commit 976e4ef

Browse files
committed
build: 🔧 add mypy config
1 parent bcb50fc commit 976e4ef

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

justfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ test-python:
2525
-i coverage.xml \
2626
-o htmlcov/coverage.svg
2727

28-
# Check Python code with the linter for any errors that need manual attention
28+
# Check Python code for any errors that need manual attention
2929
check-python:
30+
# Check formatting
3031
uv run ruff check .
32+
# Check types
33+
uv run mypy .
3134

3235
# Reformat Python code to match coding style and general structure
3336
format-python:

mypy.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[mypy]
2+
python_version = 3.12
3+
4+
[mypy-quartodoc.*]
5+
ignore_missing_imports = True

0 commit comments

Comments
 (0)