Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fa2e49

Browse files
committed
suppress deprecation warnings from others (pygments)
1 parent 2162428 commit 5fa2e49

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ build-backend = "setuptools.build_meta"
4444
[tool.ruff]
4545
line-length = 100
4646

47+
[tool.pytest]
48+
filterwarnings = [
49+
# lib/python3.15/site-packages/pygments/regexopt.py:57: DeprecationWarning: os.path.commonprefix() is deprecated. Use os.path.commonpath() for longest path prefix.
50+
"ignore::DeprecationWarning:pygments",
51+
]
52+
4753
[tool.coverage.paths]
4854
source = [
4955
"src/linklint",

0 commit comments

Comments
 (0)