Skip to content

Commit d0abbee

Browse files
committed
🔖 New version 0.3.2
1 parent 1dd891a commit d0abbee

8 files changed

Lines changed: 260 additions & 151 deletions

File tree

.copier-answers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 1c0960d
2+
_commit: 0049f24
33
_src_path: [email protected]:inokufu/python-project-template.git
44
author_email: [email protected]
55
author_name: Inokufu
6-
min_python_version: '3.14'
6+
min_python_version: '3.13'
77
package_name: logger
88
project_description: Python logger
99
project_name: Logger

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,22 @@ repos:
2828
args: [ --py312-plus ]
2929

3030
- repo: https://github.com/codespell-project/codespell
31-
rev: v2.4.1
31+
rev: v2.4.2
3232
hooks:
3333
- id: codespell # See pyproject.toml for args
3434
additional_dependencies:
3535
- tomli
3636

3737
- repo: https://github.com/astral-sh/uv-pre-commit
38-
rev: 0.10.8
38+
rev: 0.11.2
3939
hooks:
4040
- id: uv-lock
4141

4242
- repo: https://github.com/owenlamont/uv-secure
4343
rev: 0.17.0
4444
hooks:
4545
- id: uv-secure
46+
args: [ --show-severity, --ignore-unfixed, --severity=medium ]
4647

4748
- repo: https://github.com/mrtazz/checkmake.git
4849
rev: 0.2.2

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.14
1+
3.13

docs/CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.2] - 2026-03-27
9+
10+
### Changed
11+
12+
- Upgrade dependencies
13+
14+
815
## [0.3.1] - 2026-03-06
916

1017
### Changed
@@ -15,8 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1522

1623
### Changed
1724

18-
- Python version to 3.14
19-
- Migrated from Rye to uv
25+
-Migrated from Rye to uv
2026
- Type checking with ty
2127

2228
## [0.2.0] - 2025-07-17

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Key features:
3232

3333
### Prerequisites
3434

35-
- Python 3.14 or higher
35+
- Python 3.13 or higher
3636
- [uv](https://docs.astral.sh/uv/) for dependency management
3737

3838
### Installation

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[project]
22
name = "logger"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Python logger"
55
authors = [
66
{ name = "Inokufu", email = "[email protected]" }
77
]
88
readme = "docs/README.md"
9-
requires-python = ">= 3.14"
9+
requires-python = ">= 3.13"
1010

1111
dependencies = [
1212
"loguru>=0.7.3,<0.7.4",
@@ -21,19 +21,19 @@ dev = [
2121
"diff-cover>=10.2.0,<10.3.0",
2222
"griffe-inherited-docstrings>=1.1.3,<1.2.0",
2323
"mkdocs>=1.6.1,<1.7.0",
24-
"mkdocs-material>=9.7.4,<9.8.0",
24+
"mkdocs-material>=9.7.6,<9.8.0",
2525
"mkdocstrings-python>=2.0.3,<2.1.0",
2626
"pre-commit>=4.5.1,<4.6.0",
2727
"pytest>=9.0.2,<9.1.0",
28-
"pytest-cov>=7.0.0,<7.1.0",
28+
"pytest-cov>=7.1.0,<7.2.0",
2929
"pytest-mock>=3.15.1,<3.16.0",
30-
"ruff>=0.15.4,<0.15.5",
31-
"ty>=0.0.20,<0.0.21",
30+
"ruff>=0.15.8,<0.15.9",
31+
"ty>=0.0.26,<0.0.27",
3232
]
3333

3434
[tool.ruff]
3535
output-format = "concise"
36-
target-version = "py314"
36+
target-version = "py313"
3737
line-length = 88
3838
indent-width = 4
3939

src/logger/loguru.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _log_with_context(
4545
message: The message to log.
4646
context: Additional contextual information to include with the log.
4747
"""
48-
log_data = {"message": message}
48+
log_data: dict[str, Any] = {"message": message}
4949
if context:
5050
log_data["context"] = context
5151

uv.lock

Lines changed: 237 additions & 135 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)