feat: migrate design pattern from my old blogs#76
Merged
Conversation
Member
Author
|
这一次迁移的是笔者之前在CSDN上很久之前发布的设计模式的相关笔记,这里进行完整的迁移和完善补充道了这里,充实了第四章的内容。 |
…r.py Content Quality CI 报 16 篇设计模式文章 tag 未知(构建器/原型/适配器/桥接/组合/装饰器/外观/享元/代理/命令/备忘录/访问者/迭代器/责任链/解释器/中介者 模式)。上轮只补了 validate_frontmatter.py 的 VALID_TAGS,漏了 check_quality.py 自带的同名白名单(注释写 Re-use 实际复制了一份)。补齐 check_quality.py,两套同步。本地 check_quality.py / validate_frontmatter.py / markdownlint 三道 0 error。
validate_frontmatter.py 与 check_quality.py 原本各维护一份 VALID_TAGS(check_quality 注释说 Re-use 实际复制了一份),补 tag 须两处同步,曾导致 Content Quality CI 挂。抽 scripts/tags.py 作单一数据源,两脚本都 from tags import VALID_TAGS,补 tag 以后只改 tags.py 一处。本地 validate_frontmatter + check_quality 两道 0 error。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.