Skip to content

Commit 350bdb8

Browse files
committed
chore: bump template
1 parent b72324d commit 350bdb8

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v2.1.0
2+
_commit: v2.1.1
33
_src_path: https://github.com/phil65/copier-phil65.git
44
author_email: philipptemminghoff@googlemail.com
55
author_fullname: Philipp Temminghoff

duties.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Project tasks."""
2+
13
from __future__ import annotations
24

35
from typing import Literal

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ version = "2.0.0"
44
description = "A backend for pydantic-AI agents and MCP servers."
55
readme = "README.md"
66
requires-python = ">=3.13"
7-
license = { file = "LICENSE" }
7+
license = "MIT"
8+
license-files = ["LICENSE"]
89
authors = [
910
{ name = "Philipp Temminghoff", email = "philipptemminghoff@googlemail.com" },
1011
]
@@ -309,13 +310,14 @@ combine-as-imports = true
309310
[tool.ruff.lint.per-file-ignores]
310311
"__init__.py" = ["E402", "I001"]
311312
"scripts/*" = ["INP001"]
313+
"*tests/*" = ["D100"]
312314

313315
[tool.ruff.format]
314-
# Enable preview style formatting.
315316
preview = true
316317

317318
[tool.ty.environment]
318319
python-version = "3.13"
320+
python-platform = "all"
319321

320322
[tool.uv]
321323
default-groups = ["dev", "lint", "docs"]

src/llmling/log.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""Logging configuration for llmling."""
2+
3+
from __future__ import annotations
4+
5+
import logging
6+
7+
8+
def get_logger(name: str) -> logging.Logger:
9+
"""Get a logger for the given name.
10+
11+
Args:
12+
name: The name of the logger, will be prefixed with 'llmling_agent.'
13+
14+
Returns:
15+
A logger instance
16+
"""
17+
return logging.getLogger(f"llmling.{name}")

0 commit comments

Comments
 (0)