Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
vscode:
build:
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13
3.14
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG UV_VERSION=latest
ARG VARIANT=3.13
ARG VARIANT=3.14


FROM ghcr.io/astral-sh/uv:$UV_VERSION AS uv
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

[![Versions](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12%20|%203.13%20-green.svg)](https://github.com/a5chin/python-uv)
[![Versions](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12%20|%203.13%20|%203.14%20-green.svg)](https://github.com/a5chin/python-uv)
![code coverage](https://raw.githubusercontent.com/a5chin/python-uv/coverage-badge/coverage.svg?raw=true)

[![Docker](https://github.com/a5chin/python-uv/actions/workflows/docker.yml/badge.svg)](https://github.com/a5chin/python-uv/actions/workflows/docker.yml)
Expand Down
2 changes: 1 addition & 1 deletion docs/configurations/pyright.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

```{.json title="pyrightconfig.json"}
{
"pythonVersion": "3.13",
"pythonVersion": "3.14",
"pythonPlatform": "All",
"venv": ".venv",
"typeCheckingMode": "standard",
Expand Down
4 changes: 2 additions & 2 deletions docs/configurations/ruff.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ The Ruff formatter is an extremely fast Python code formatter designed as a drop
line-length = 88
indent-width = 4

# Assume Python 3.13
target-version = "py313"
# Assume Python 3.14
target-version = "py314"

[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/uv.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ uv remove ruff
## Pin Python Version
If you want to pin the Python version, run the following command:
```sh
uv pin python 3.13
uv pin python 3.14
```

## Configuration for uv
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ class CLIArgs(
):
"""CLIArgs is a class that extends BaseSettings to handle command line arguments."""

junitxml: str | None = None
junitxml: str = ""
pyright: bool = False
ruff: bool = False

@classmethod
def parse(cls, posargs: list[str]) -> "CLIArgs":
def parse(cls, posargs: list[str]) -> CLIArgs:
"""Parse command line arguments from the provided list.

Args:
Expand Down
24 changes: 12 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ readme = "README.md"
license = { file = "LICENSE" }

dependencies = [
"google-cloud-logging>=3.11.3",
"pydantic>=2.10.5",
"pydantic-settings>=2.7.1",
"google-cloud-logging>=3.12.1",
"pydantic>=2.12.0",
"pydantic-settings>=2.11.0",
]

[tool.uv]
dev-dependencies = [
[dependency-groups]
dev = [
"cookiecutter>=2.6.0",
"cookiecutter-data-science>=2.1.0",
"mkdocs-material>=9.5.50",
"cookiecutter-data-science>=2.3.0",
"mkdocs-material>=9.6.21",
"nox>=2025.5.1",
"pre-commit>=4.1.0",
"pyright>=1.1.392.post0",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"ruff>=0.9.2",
"pre-commit>=4.3.0",
"pyright>=1.1.406",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"ruff>=0.14.0",
]

[tool.hatch.build.targets.wheel]
Expand Down
2 changes: 1 addition & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"pythonVersion": "3.13",
"pythonVersion": "3.14",
"pythonPlatform": "All",
"venv": ".venv",
"typeCheckingMode": "standard",
Expand Down
4 changes: 2 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ exclude = [
line-length = 88
indent-width = 4

# Assume Python 3.13
target-version = "py313"
# Assume Python 3.14
target-version = "py314"

[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
Expand Down
6 changes: 4 additions & 2 deletions tools/logger/logger.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import logging
import sys

from google.auth.credentials import Credentials
from typing import TYPE_CHECKING

from tools.logger.type import LogType

if TYPE_CHECKING:
from google.auth.credentials import Credentials


class Logger(logging.Logger):
"""Logger.
Expand Down
382 changes: 208 additions & 174 deletions uv.lock

Large diffs are not rendered by default.