Skip to content

Commit be78f72

Browse files
authored
Merge pull request #59 from a5chin/renovate/lock-file-maintenance
chore(deps): lock file maintenance
2 parents 291c395 + 686ecab commit be78f72

File tree

9 files changed

+312
-405
lines changed

9 files changed

+312
-405
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ uv add {libraries}
194194
│ └── tools/
195195
│ ├── test__config.py
196196
│ ├── test__logger.py
197-
│ └── test__trace.py
197+
│ └── test__tracer.py
198198
├── tools/
199199
│ ├── config/
200200
│ │ ├── __init__.py
@@ -208,7 +208,7 @@ uv add {libraries}
208208
│ │ ├── logger.py
209209
│ │ ├── style.py
210210
│ │ └── type.py
211-
│ ├── trace/
211+
│ ├── tracer/
212212
│ │ ├── __init__.py
213213
│ │ └── timer.py
214214
│ └── __init__.py

docs/guides/tools/trace.md docs/guides/tools/tracer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
```{.py hl_lines="6"}
55
import time
66

7-
from tools.trace import Timer
7+
from tools.tracer import Timer
88

99

1010
@Timer("sleep")
@@ -24,7 +24,7 @@ sleep(1)
2424
```{.py hl_lines="5"}
2525
import time
2626

27-
from tools.trace import Timer
27+
from tools.tracer import Timer
2828

2929
with Timer("examples"):
3030
time.sleep(1)

docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The environment includes uv and Ruff.
3030
│ └── tools/
3131
│ ├── test__config.py
3232
│ ├── test__logger.py
33-
│ └── test__trace.py
33+
│ └── test__tracer.py
3434
├── tools/
3535
│ ├── config/
3636
│ │ ├── __init__.py
@@ -44,7 +44,7 @@ The environment includes uv and Ruff.
4444
│ │ ├── logger.py
4545
│ │ ├── style.py
4646
│ │ └── type.py
47-
│ ├── trace/
47+
│ ├── tracer/
4848
│ │ ├── __init__.py
4949
│ │ └── timer.py
5050
│ └── __init__.py

mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ nav:
6262
- guides/tools/index.md
6363
- config: guides/tools/config.md
6464
- logger: guides/tools/logger.md
65-
- trace: guides/tools/trace.md
65+
- trace: guides/tools/tracer.md
6666
- Configurations:
6767
- configurations/index.md
6868
- uv: configurations/uv.md

tests/tools/test__trace.py tests/tools/test__tracer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from tools.trace import Timer
1+
from tools.tracer import Timer
22

33

44
class TestTimer:

tools/trace/__init__.py

-7
This file was deleted.

tools/tracer/__init__.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Tracer."""
2+
3+
from tools.tracer.timer import Timer
4+
5+
__all__ = [
6+
"Timer",
7+
]

tools/trace/timer.py tools/tracer/timer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ class Timer(ContextDecorator):
88
Examples:
99
>>> import time
1010
>>>
11-
>>> from tools.trace import Timer
11+
>>> from tools.tracer import Timer
1212
>>>
1313
>>> with Timer("examples"):
1414
>>> time.sleep(1)
1515
1616
>>> import time
1717
>>>
18-
>>> from tools.trace import Timer
18+
>>> from tools.tracer import Timer
1919
>>>
2020
>>>
2121
>>> @Timer("sleep")

uv.lock

+295-388
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)