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: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.0.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.0.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.0.0
with:
enable-cache: true

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,6 @@ data/

# Claude Code local state (do not commit)
.claude/todos/

# Stray root file (accidental)
/1
Empty file removed 1
Empty file.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ ignore = ["E501"]
minversion = "8.0"
testpaths = ["tests"]
addopts = ["-q"]

[tool.basedpyright]
reportImplicitOverride = false
3 changes: 1 addition & 2 deletions scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
from dataclasses import dataclass
from pathlib import Path
from typing import Literal, Protocol, cast, override
from typing import Literal, Protocol, cast

_VERSION_RE = re.compile(r'^(?P<prefix>\s*version\s*=\s*")(?P<ver>\d+\.\d+\.\d+)(".*)$')

Expand Down Expand Up @@ -37,7 +37,6 @@ def bumped(self, bump: BumpKind) -> Version:
return Version(self.major, self.minor + 1, 0)
return Version(self.major + 1, 0, 0)

@override
def __str__(self) -> str:
return f"{self.major}.{self.minor}.{self.patch}"

Expand Down
2 changes: 1 addition & 1 deletion template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ source = ["{{ package_name }}"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/_support/*",
"*/common/*",
]

[tool.coverage.report]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ from typing import TYPE_CHECKING, ParamSpec, TypeVar
if TYPE_CHECKING:
from collections.abc import Callable

from {{ package_name }}._support.logging_manager import get_logger, log_message
from {{ package_name }}.common.logging_manager import get_logger, log_message

P = ParamSpec("P")
R = TypeVar("R")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ from pathlib import Path

from dotenv import load_dotenv

from {{ package_name }}._support.decorators import handle_exceptions_valued
from {{ package_name }}._support.logging_manager import log_message
from {{ package_name }}.common.decorators import handle_exceptions_valued
from {{ package_name }}.common.logging_manager import log_message

warnings.filterwarnings("ignore")

Expand Down