Skip to content

Commit 473f252

Browse files
feat: remove loguru. (#2)
1 parent 3e8649c commit 473f252

File tree

4 files changed

+35
-52
lines changed

4 files changed

+35
-52
lines changed

antpathmatcher/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@
44
"AntPathMatcher",
55
)
66

7-
import logging
8-
97
from antpathmatcher.antpathmatcher import AntPathMatcher
10-
11-
logger = logging.getLogger("antpathmatcher")
12-
logger.addHandler(logging.NullHandler())

antpathmatcher/antpathmatcher.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import logging
12
import re
23
from typing import Literal
34

4-
5-
from loguru import logger
5+
logger = logging.getLogger("antpathmatcher")
6+
logger.addHandler(logging.NullHandler())
67

78

89
class AntPathMatcher:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ build-backend = "hatchling.build"
4242

4343
[tool.uv]
4444
dev-dependencies = [
45-
"loguru>=0.7.2",
4645
"pip>=24.2",
4746
"pytest-asyncio>=0.24.0",
4847
"pytest-mock>=3.14.0",

uv.lock

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

0 commit comments

Comments
 (0)