diff --git a/rsconcept/backend/requirements-dev-lock.txt b/rsconcept/backend/requirements-dev-lock.txt index 45259fd8..fc8c5a1d 100644 --- a/rsconcept/backend/requirements-dev-lock.txt +++ b/rsconcept/backend/requirements-dev-lock.txt @@ -14,6 +14,7 @@ psycopg2-binary==2.9.10 gunicorn==23.0.0 djangorestframework-stubs==3.15.1 django-extensions==3.2.3 -mypy==1.11.2 +django-stubs==5.1.1 +mypy==1.13.0 pylint==3.3.2 coverage==7.6.8 \ No newline at end of file diff --git a/rsconcept/backend/requirements-dev.txt b/rsconcept/backend/requirements-dev.txt index 6e01bde6..2ee34ef5 100644 --- a/rsconcept/backend/requirements-dev.txt +++ b/rsconcept/backend/requirements-dev.txt @@ -15,6 +15,7 @@ gunicorn djangorestframework-stubs[compatible-mypy] django-extensions +django-stubs mypy pylint coverage \ No newline at end of file diff --git a/scripts/dev/RunLint.ps1 b/scripts/dev/RunLint.ps1 index f3519a28..567e5252 100644 --- a/scripts/dev/RunLint.ps1 +++ b/scripts/dev/RunLint.ps1 @@ -15,7 +15,7 @@ function LintBackend() { Set-Location $backend $env:DJANGO_SETTINGS_MODULE = "project.settings" & $pylint project apps - & $mypy project apps + & $mypy project apps --show-traceback } function LintFrontend() {