From 8c78deb7318701f09f8d98bc64a9ba9d508b0a48 Mon Sep 17 00:00:00 2001 From: Lari Liuhamo Date: Wed, 27 May 2026 22:51:06 +0300 Subject: [PATCH] fix: Update Pygments --- pyproject.toml | 28 ++++++++++------------------ uv.lock | 9 ++++++--- 2 files changed, 16 insertions(+), 21 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4579433..6dbaa32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,11 +11,7 @@ requires-python = ">=3.11" readme = "README.md" license = "MIT" maintainers = [{ name = "Lari Liuhamo", email = "lari.liuhamo+pypi@gmail.com" }] -keywords = [ - "package", - "python3", - "time", -] +keywords = ["package", "python3", "time"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -53,10 +49,7 @@ dev = [ [tool.coverage.run] branch = true relative_files = true -omit = [ - ".tox/*", - "tests/*", -] +omit = [".tox/*", "tests/*"] [tool.coverage.report] exclude_also = [ @@ -96,11 +89,9 @@ addopts = [ "--cov-report=html:tests/reports/coverage-html", "--cov-report=term-missing:skip-covered", "--cov-report=xml:tests/reports/coverage.xml", - "--ignore=docs/" -] -testpaths = [ - "tests", + "--ignore=docs/", ] +testpaths = ["tests"] [tool.ruff] lint.select = ["ALL"] @@ -124,10 +115,10 @@ max-complexity = 15 [tool.ruff.lint.per-file-ignores] # https://beta.ruff.rs/docs/rules/ -"__init__.py" = ["F401", "F403", "F405", "PGH003",] -"tests/*" = ["ANN", "ARG", "INP001", "PLR2004", "S101",] -"*/config.py" = ["S311",] -"ms.py" = ["FBT001", "FBT002",] +"__init__.py" = ["F401", "F403", "F405", "PGH003"] +"tests/*" = ["ANN", "ARG", "INP001", "PLR2004", "S101"] +"*/config.py" = ["S311"] +"ms.py" = ["FBT001", "FBT002"] [tool.ruff.lint.pylint] max-args = 15 @@ -166,8 +157,9 @@ commands = [tool.uv] cache-keys = [ { file = "pyproject.toml" }, - { git = { commit = true, tags = true }}, + { git = { commit = true, tags = true } }, ] +constraint-dependencies = ["pygments>=2.20.0"] [tool.uv-dynamic-versioning] bump = true diff --git a/uv.lock b/uv.lock index cc7da9f..746fe0f 100644 --- a/uv.lock +++ b/uv.lock @@ -6,6 +6,9 @@ resolution-markers = [ "python_full_version < '3.15'", ] +[manifest] +constraints = [{ name = "pygments", specifier = ">=2.20.0" }] + [[package]] name = "anyio" version = "4.13.0" @@ -783,11 +786,11 @@ wheels = [ [[package]] name = "pygments" -version = "2.19.1" +version = "2.20.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f", size = 4968581, upload-time = "2025-01-06T17:26:30.443Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15/pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c", size = 1225293, upload-time = "2025-01-06T17:26:25.553Z" }, + { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, ] [[package]]