>=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:
parent
03acc6ecff
commit
a979691bb0
47 changed files with 717 additions and 503 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue