>=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
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
|
@ -15,10 +15,10 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: chartboost/ruff-action@v1
|
||||
with:
|
||||
version: 0.9.4
|
||||
version: 0.11.5
|
||||
- uses: chartboost/ruff-action@v1
|
||||
with:
|
||||
version: 0.9.4
|
||||
version: 0.11.5
|
||||
args: format --check
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -26,6 +26,6 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- run: pip install mypy==1.14.1
|
||||
python-version: "3.10"
|
||||
- run: pip install mypy==1.15.0
|
||||
- run: mypy --install-types --non-interactive
|
||||
|
|
|
|||
Loading…
Reference in a new issue