htrc / torchlite-backend

Backend API service for Torchlite web dashboard
2 stars 0 forks source link

Fix mypy lint errors #112

Open sandeep-ps opened 1 month ago

sandeep-ps commented 1 month ago

Currently, there are lint errors related to mypy. This is related to type hints, and it may need upgrading the mypy version too.

sandeep-ps commented 1 month ago

Currently, reduced the mypy errors to 1:

.venv/lib/python3.12/site-packages/regex-stubs/regex.pyi:573: error: Positional-only parameters are only supported in Python 3.8 and greater  [syntax]
Found 1 error in 1 file (errors prevented further checking)

This needs further investigation. The code changes are pushed to the connected branch.