>=3.10 strict typing (#765)

* >=3.10 

* fully typed (mypy strict mode enabled)

* fix tests (get_tasteprofile now requires auth - serverside)

* update linters

* fix uploads search
This commit is contained in:
sigma67 2025-04-17 16:05:34 +02:00 • committed by GitHub
commit a979691bb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 717 additions and 503 deletions

View file

@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.4
rev: v0.11.5
hooks:
# Run the linter.
- id: ruff
@ -10,8 +10,9 @@ repos:
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
verbose: true
additional_dependencies: [ 'types-requests' ]
pass_filenames: false