tiangolo

markdown-include-variants

Markdown extension to expand directives to include source example files to also include their variants. Only useful to tiangolo's projets. Don't use it. ๐Ÿ˜…

by tiangolo

Python

Python99.8%
Shell0.2%

Commit activity

Last 12 weeks ยท 28 commits

Full graph โ†’

Community health

4 of 6 standards met

Community profile โ†’
85
โœ“READMEโœ“Licenseโœ“Contributingโ—‹Code of Conductโ—‹Issue Templateโœ“PR Template
YuriiMotov

Description Now we can use to make it use latest uv version with known checksum. Version 10.0.0 introduced breaking changes (security improvement): caching is disabled by default for workflows triggered by , , and events: https://github.com/astral-sh/setup-uv/releases/tag/v10.0.0 This will disable caching for the Smokeshow workflow. Let's keep that behavior for now. AI Disclaimer Used Codex to apply and review the changes. Then reviewed manually Failing CI CI is failing due to unrelated issue. See PR https://github.com/tiangolo/markdown-include-variants/pull/107

YuriiMotov ยท 1w ago
YuriiMotov

Dependabot doesn't work well with "pre-commit" package ecosystem.. This PR disables Dependabot "pre-commit" package ecosystem and adds a GH workflow to bump pre-commit hooks using command instead. Note To make it work, the label must exist in the repo (it doesn't currently exist)

YuriiMotov ยท 1w ago
YuriiMotov

Description Tests with uv resolution started to fail since pygments 2.21.0 has been released. The reason is that since version 2.21.0 pygments doesn't convert to inside highlighted code. From version 2.21.0 changelog: HtmlFormatter: and now render literally (https://github.com/pygments/pygments/pull/3185) And, since pygments is not a direct dependency, with uv resolution uv installs latest version of uv. So, the snapshots in tests doesn't match the real values and tests fail: To solve this we need to bump pygments to 2.21.0 (to ensure uv resolution will also install it) and update snapshots AI Disclaimer Used Claude Code to investigate and fix the issue. Reviewed manually Checklist [ ] This PR is an obvious typo fix, or it links to a GitHub Discussion for the proposed code change. [ ] I added tests for the change. [ ] The new or updated tests fail on the main branch and pass on this PR. [x] Coverage stays at 100%. [ ] The documentation explains the change if needed.

YuriiMotov ยท 1w ago
Structured data for AI agents

Repository: tiangolo/markdown-include-variants. Description: Markdown extension to expand directives to include source example files to also include their variants. Only useful to tiangolo's projets. Don't use it. ๐Ÿ˜… Stars: 18, Forks: 4. Primary language: Python. Languages: Python (99.8%), Shell (0.2%). License: MIT. Latest release: 0.0.8 (10mo ago). Open PRs: 2, open issues: 0. Last activity: 1w ago. Community health: 85%. Top contributors: tiangolo, github-actions[bot], dependabot[bot], YuriiMotov, latest-changes[bot], svlandeg.