Skip to content

Commit a9e236e

Browse files
authored
Version 0.5.0 (#18)
1 parent 374cd45 commit a9e236e

12 files changed

Lines changed: 2314 additions & 1894 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Python package using Pip
44

55
on:
66
push:
7-
branches: [ main, dev ]
7+
branches: [ main, dev** ]
88
pull_request:
9-
branches: [ main, dev ]
9+
branches: [ main, dev** ]
1010

1111
env:
1212
CACHE_NUMBER: 0 # increase to reset cache manually

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ repos:
2121
args: ['--fix=no']
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.11.6
24+
rev: v0.12.0
2525
hooks:
2626
- id: ruff
2727
types_or: [python, pyi]
2828
args: [--select, I, --fix]
2929
- id: ruff-format
3030
types_or: [python, pyi]
31+
- id: ruff-check
32+
args: [ --fix ]

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.5.0] 2026-03-05
6+
### Modified
7+
- Change default store mode to `"outputs_only"` in disk cache.
8+
- Change default `fn_name` to function name instead of fully qualified name in disk cache.
9+
- Lazily load imports if `lazy_loader` package is available.
10+
511
## [0.4.10] 2026-02-09
612
### Fixed
713
- Disk cache custom keywords arguments for cache filename.

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ keywords:
1717
- tools
1818
- utilities
1919
license: MIT
20-
version: 0.4.10
21-
date-released: '2026-02-09'
20+
version: 0.5.0
21+
date-released: '2026-03-05'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ maintainers = [
3131
]
3232
dynamic = ["version"]
3333
dependencies = [
34+
"lazy-loader>=0.4",
3435
"typing-extensions>=4.10.0",
3536
]
3637

@@ -67,7 +68,7 @@ version = {attr = "pythonwrench.__version__"}
6768

6869
[tool.pyright]
6970
include = ["src"]
70-
exclude = ["**/__pycache__"]
71+
exclude = ["**/__pycache__", '**/node_modules', '**/.*', '.venv']
7172
pythonVersion = "3.8"
7273

7374
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)