Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strict typeCheckingMode #413

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5368f6b
refactor(type): add pyhton typeCheckingMode strict
ddungiii Sep 14, 2023
bb39233
chore(package): Add install mypy in pipfile
ddungiii Sep 14, 2023
c49a4bd
chore(package): Add django, DRF stubs in pipfile
DoyunShin Sep 21, 2023
83521f0
feat(mypy): Add mypy.ini
DoyunShin Sep 21, 2023
f35ba53
feat(mypy): mypy follow_imports removed
DoyunShin Sep 21, 2023
cfb8bb8
feat(vscode): Set mypy as a default linter.
DoyunShin Sep 21, 2023
78a1605
fix(typo): NewAra
DoyunShin Sep 21, 2023
92a7112
feat(mypy): Add typing-extensions
Qndndn Sep 21, 2023
4804e89
fix(mypy): Removed typing-extensions from package
Qndndn Sep 21, 2023
1459ca1
Merge pull request #420 from sparcs-kaist/refactor/type-hint-common-s…
Qndndn Sep 21, 2023
feba307
fix(mypy): Add all stubs, and ignore no stubs.
DoyunShin Sep 21, 2023
91f6589
Merge pull request #415 from sparcs-kaist/refactor/type-hint-django-s…
DoyunShin Sep 22, 2023
2adca8f
refactor(type): hinting apps.core.models.article
DoyunShin Oct 5, 2023
0112c90
refactor(type): hinting comment, ara
Qndndn Oct 5, 2023
6cf5250
Merge branch 'refactor/type-hint-hyooyh' into refactor/type-hint
Qndndn Oct 5, 2023
c15faed
refactor(type): fix articles in apps
DoyunShin Oct 5, 2023
8f7747b
Merge branch 'refactor/type-hint-roul' into refactor/type-hint
DoyunShin Oct 6, 2023
1bda448
Merge branch 'develop' into refactor/type-hint
injoonH Oct 26, 2023
1fd40ae
fix(hidden): remove unintended init
injoonH Oct 26, 2023
fd79160
fix(comment): remove attribute of enum
injoonH Oct 26, 2023
99990be
feat(type): follow PEP for typing
injoonH Nov 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(mypy): Add mypy.ini
DoyunShin committed Sep 21, 2023

Verified

This commit was signed with the committer’s verified signature.
alexsnaps Alex Snaps
commit 83521f051164c648c715d240e554f4e706569f6d
22 changes: 22 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This is NewARA API's mypy configuration file.

[mypy]
plugins = mypy_django_plugin.main, mypy_drf_plugin.main

python_version = 3.11

allow_redefinition = True
warn_unused_configs = True
warn_redundant_casts = True
show_error_codes = True
show_column_numbers = True
check_untyped_defs = True
follow_imports = silent

#warn_unused_ignores = False

#files =
#exclude =

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