2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-04 00:02:51 +00:00

feat(backend): add typechecking with ty (#9664)

* Add ty for type checking

* fix various typing issues

* fix req

* more fixes

* and more types

* and more typing

* fix imports

* more fixes

* fix types and optional statements

* ensure patch only runs if it is installed

* add type check to qc

* more fixes

* install all reqs

* fix more types

* more fixes

* disable container stuff for now

* move typecheck to seperate job

* try to use putput for path

* use env instead

* fix typo

* add missing install

* remove unclear imports - not sure why this was done

* add kwarg names

* fix introduced issue in url call

* ignore import

* fix broken typing changes

* fix filter import

* reduce change set

* remove api-change

* fix dict

* ignore typing errors

* fix more type issues

* ignore errors

* style fix

* fix type

* bump ty

* fix more

* type fixes

* update ignores

* fix import

* fix defaults

* fix ignore

* fix some issues

* fix type
This commit is contained in:
Matthias Mair
2025-09-17 13:30:02 +02:00
committed by GitHub
parent f057247fc1
commit 21cb488eef
100 changed files with 524 additions and 267 deletions

View File

@@ -9,3 +9,6 @@ pip-tools # Compile pip requirements
pre-commit # Git pre-commit
setuptools # Standard dependency
pdfminer.six # PDF validation
ty # type checking
django-types # typing
django-stubs # typing