Compare commits

..

2 Commits

Author SHA1 Message Date
Yurii Motov 7e9a57b0e4 👷 Use backend ty config in pre-commit hook 2026-09-03 12:17:19 +02:00
Yurii Motov c6d02f60ec 👷 Use backend mypy config in pre-commit hook 2026-09-03 11:46:51 +02:00
13 changed files with 16 additions and 18 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
with: with:
python-version-file: ".python-version" python-version-file: ".python-version"
- name: Setup uv - name: Setup uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
cache-dependency-glob: | cache-dependency-glob: |
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
with: with:
python-version-file: ".python-version" python-version-file: ".python-version"
- name: Install uv - name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
- name: Extract release details - name: Extract release details
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
# Override frontend/.env so the deployed frontend uses the same origin as the API # Override frontend/.env so the deployed frontend uses the same origin as the API
VITE_API_URL: "" VITE_API_URL: ""
- name: Set up uv - name: Set up uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
- name: Prepare database - name: Prepare database
+1 -1
View File
@@ -66,7 +66,7 @@ jobs:
with: with:
limit-access-to-actor: true limit-access-to-actor: true
- name: Install uv - name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
- run: uv sync - run: uv sync
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
with: with:
python-version-file: .python-version python-version-file: .python-version
- name: Setup uv - name: Setup uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
cache-dependency-glob: | cache-dependency-glob: |
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
with: with:
python-version-file: ".python-version" python-version-file: ".python-version"
- name: Install uv - name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
- name: Prepare release - name: Prepare release
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
with: with:
python-version-file: .python-version python-version-file: .python-version
- name: Setup uv - name: Setup uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
cache-dependency-glob: | cache-dependency-glob: |
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
with: with:
python-version-file: .python-version python-version-file: .python-version
- name: Install uv - name: Install uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with: with:
version: "latest-known" version: "latest-known"
- run: docker compose down -v --remove-orphans - run: docker compose down -v --remove-orphans
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- name: Run zizmor - name: Run zizmor
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4 uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with: with:
advanced-security: ${{ github.repository_owner == 'fastapi' }} advanced-security: ${{ github.repository_owner == 'fastapi' }}
annotations: ${{ github.repository_owner != 'fastapi' }} annotations: ${{ github.repository_owner != 'fastapi' }}
+2 -2
View File
@@ -47,14 +47,14 @@ repos:
- id: local-mypy - id: local-mypy
name: mypy check name: mypy check
entry: uv run mypy backend/app entry: uv run mypy --config-file backend/pyproject.toml backend/app
require_serial: true require_serial: true
language: unsupported language: unsupported
pass_filenames: false pass_filenames: false
- id: local-ty - id: local-ty
name: ty check name: ty check
entry: uv run ty check backend/app entry: uv run ty check --project backend backend/app
require_serial: true require_serial: true
language: unsupported language: unsupported
pass_filenames: false pass_filenames: false
+1 -1
View File
@@ -16,7 +16,7 @@ dependencies = [
"sqlmodel>=0.0.39,<1.0.0", "sqlmodel>=0.0.39,<1.0.0",
"pydantic-settings<3.0.0,>=2.2.1", "pydantic-settings<3.0.0,>=2.2.1",
"sentry-sdk[fastapi]>=2.68.1,<3.0.0", "sentry-sdk[fastapi]>=2.68.1,<3.0.0",
"pyjwt>=2.15.0,<3.0.0", "pyjwt<3.0.0,>=2.13.0",
"pwdlib[argon2,bcrypt]>=0.3.1", "pwdlib[argon2,bcrypt]>=0.3.1",
] ]
-2
View File
@@ -21,8 +21,6 @@
### Internal ### Internal
* ⬆ Bump pyjwt from 2.13.0 to 2.15.0. PR [#2494](https://github.com/fastapi/full-stack-fastapi-template/pull/2494) by [@dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump the github-actions group with 2 updates. PR [#2495](https://github.com/fastapi/full-stack-fastapi-template/pull/2495) by [@dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump traefik from 3.6 to v3.7 in the docker-compose group. PR [#2465](https://github.com/fastapi/full-stack-fastapi-template/pull/2465) by [@dependabot[bot]](https://github.com/apps/dependabot). * ⬆ Bump traefik from 3.6 to v3.7 in the docker-compose group. PR [#2465](https://github.com/fastapi/full-stack-fastapi-template/pull/2465) by [@dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pre-commit hooks. PR [#2471](https://github.com/fastapi/full-stack-fastapi-template/pull/2471) by [@pr-submit[bot]](https://github.com/apps/pr-submit). * ⬆ Bump pre-commit hooks. PR [#2471](https://github.com/fastapi/full-stack-fastapi-template/pull/2471) by [@pr-submit[bot]](https://github.com/apps/pr-submit).
* ⬆ Update pwdlib[argon2,bcrypt] requirement from >=0.3.0 to >=0.3.1. PR [#2468](https://github.com/fastapi/full-stack-fastapi-template/pull/2468) by [@dependabot[bot]](https://github.com/apps/dependabot). * ⬆ Update pwdlib[argon2,bcrypt] requirement from >=0.3.0 to >=0.3.1. PR [#2468](https://github.com/fastapi/full-stack-fastapi-template/pull/2468) by [@dependabot[bot]](https://github.com/apps/dependabot).
Generated
+4 -4
View File
@@ -105,7 +105,7 @@ requires-dist = [
{ name = "pwdlib", extras = ["argon2", "bcrypt"], specifier = ">=0.3.1" }, { name = "pwdlib", extras = ["argon2", "bcrypt"], specifier = ">=0.3.1" },
{ name = "pydantic", specifier = ">2.0" }, { name = "pydantic", specifier = ">2.0" },
{ name = "pydantic-settings", specifier = ">=2.2.1,<3.0.0" }, { name = "pydantic-settings", specifier = ">=2.2.1,<3.0.0" },
{ name = "pyjwt", specifier = ">=2.15.0,<3.0.0" }, { name = "pyjwt", specifier = ">=2.13.0,<3.0.0" },
{ name = "python-multipart", specifier = ">=0.0.27,<1.0.0" }, { name = "python-multipart", specifier = ">=0.0.27,<1.0.0" },
{ name = "sentry-sdk", extras = ["fastapi"], specifier = ">=2.68.1,<3.0.0" }, { name = "sentry-sdk", extras = ["fastapi"], specifier = ">=2.68.1,<3.0.0" },
{ name = "sqlmodel", specifier = ">=0.0.39,<1.0.0" }, { name = "sqlmodel", specifier = ">=0.0.39,<1.0.0" },
@@ -1105,11 +1105,11 @@ wheels = [
[[package]] [[package]]
name = "pyjwt" name = "pyjwt"
version = "2.15.0" version = "2.13.0"
source = { registry = "https://pypi.org/simple" } source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/02/a5/5197bfd06417837ac079921c66fa6393f1dea3557272a263cebfef69e432/pyjwt-2.15.0.tar.gz", hash = "sha256:b11c5f9791d7bf51c2b39a81ed669f6b2dbbd669df2942f6c60167e9e3d1abe4", size = 120513, upload-time = "2026-09-23T16:56:00.689Z" } sdist = { url = "https://files.pythonhosted.org/packages/3b/81/58d0ac84e1ef3a3843791d6954d94c0b33d526c75eeb1efbce9d0a4c4077/pyjwt-2.13.0.tar.gz", hash = "sha256:41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423", size = 107515, upload-time = "2026-05-21T19:54:36.618Z" }
wheels = [ wheels = [
{ url = "https://files.pythonhosted.org/packages/e8/55/40e45bf052ee8ee12a4dfd785519660f8effa7b065442b91646ec6828619/pyjwt-2.15.0-py3-none-any.whl", hash = "sha256:7a3742debf6b879e912dbb9819ceec1594be812452b78c5f2e2dfc56564954f8", size = 33680, upload-time = "2026-09-23T16:55:59.241Z" }, { url = "https://files.pythonhosted.org/packages/a3/5e/ecf12fdb62546d64385c158514e9b2b671f7832108ef2ecd2020ce0af2d1/pyjwt-2.13.0-py3-none-any.whl", hash = "sha256:66adcc2aff09b3f1bbd95fc1e1577df8ac8723c978552fd43304c8a290ac5728", size = 31274, upload-time = "2026-05-21T19:54:35.362Z" },
] ]
[[package]] [[package]]