Skip to content

Commit

Permalink
Merge pull request #51 from a5chin/feature/version
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
a5chin authored Jan 23, 2025
2 parents 7000d8c + 3c3ff55 commit 3ab9029
Show file tree
Hide file tree
Showing 12 changed files with 237 additions and 222 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG UV_VERSION=0.5.13
ARG UV_VERSION=latest
ARG DEBIAN_VERSION=bookworm


Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"context": "..",
"dockerfile": "Dockerfile",
"args": {
"UV_VERSION": "0.5.13",
"UV_VERSION": "latest",
"DEBIAN_VERSION": "bookworm"
}
},
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ jobs:
coverage:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.13"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python 3.13 with uv
- name: Setup Python ${{ matrix.python-version }} with uv
uses: ./.github/actions/setup-python-with-uv
with:
python-version: 3.13
python-version: ${{ matrix.python-version }}

- name: Run pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_stages: [pre-commit]

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.9.2
hooks:
- id: ruff
name: Ruff check
Expand Down
1 change: 0 additions & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
3.13.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG DEBIAN_VERSION=bookworm
ARG UV_VERSION=0.5.13
ARG UV_VERSION=latest
ARG VARIANT=3.13


Expand Down
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ license = { file = "LICENSE" }

dependencies = [
"google-cloud-logging>=3.11.3",
"pydantic-settings>=2.7.0",
"pydantic>=2.10.4",
"pydantic>=2.10.5",
"pydantic-settings>=2.7.1",
]

[tool.uv]
dev-dependencies = [
"mkdocs-material>=9.5.49",
"pre-commit>=4.0.1",
"pyright>=1.1.391",
"pytest-cov>=6.0.0",
"mkdocs-material>=9.5.50",
"pre-commit>=4.1.0",
"pyright>=1.1.392.post0",
"pytest>=8.3.4",
"ruff>=0.8.4",
"pytest-cov>=6.0.0",
"ruff>=0.9.2",
]
2 changes: 1 addition & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
".pytest_cache",
".ruff_cache",
".venv"
],
]
}
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"

[per-file-ignores]
[lint.per-file-ignores]
# Ignore all directories named `tests`.
"tests/**" = ["INP001", "S101"]
2 changes: 1 addition & 1 deletion tools/trace/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Timer."""

from tools.trace.time import Timer
from tools.trace.timer import Timer

__all__ = [
"Timer",
Expand Down
File renamed without changes.
422 changes: 217 additions & 205 deletions uv.lock

Large diffs are not rendered by default.

1 comment on commit 3ab9029

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
tests
   conftest.py50100%
tests/tools
   test__config.py90100%
   test__logger.py240100%
   test__trace.py70100%
tools
   __init__.py00100%
tools/config
   __init__.py30100%
   fastapi.py110100%
   settings.py200100%
tools/logger
   __init__.py50100%
   color.py120100%
   googlecloud.py100100%
   local.py120100%
   logger.py230100%
   style.py70100%
   type.py50100%
tools/trace
   __init__.py20100%
   timer.py160100%
TOTAL1710100%

Tests Skipped Failures Errors Time
8 0 💤 0 ❌ 0 🔥 1.413s ⏱️

Please sign in to comment.