Skip to content

Commit

Permalink
Experimenting with typing
Browse files Browse the repository at this point in the history
  • Loading branch information
dansahagian committed Dec 23, 2024
1 parent 1e7561b commit bafb1af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/run-mypy
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

uv run mypy . --config-file=mypy.ini
10 changes: 10 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[mypy]
files = fbsurvivor
ignore_missing_imports = True
strict = True
show_error_codes = True
plugins =
mypy_django_plugin.main

[mypy.plugins.django-stubs]
django_settings_module = "fbsurvivor.settings"

0 comments on commit bafb1af

Please sign in to comment.