-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Add support for pattern substitutions #9
Comments
Yeah this has been on my todo list since someone asked about https://github.com/twisted/twisted/blob/eda9d29dc7fe34e7b207781e5674dc92f798bffe/setup.py#L19-L24 |
pydantic just switched and would use this pydantic/pydantic#4473 (comment) history = (THIS_DIR / 'HISTORY.md').read_text(encoding='utf-8')
history = re.sub(r'#(\d+)', r'[#\1](https://github.com/pydantic/pydantic/issues/\1)', history)
history = re.sub(r'( +)@([\w\-]+)', r'\1[@\2](https://github.com/\2)', history, flags=re.I)
history = re.sub('@@', '@', history)
long_description = (THIS_DIR / 'README.md').read_text(encoding='utf-8') + '\n\n' + history |
Merged
BTW any idea what that |
hynek
added a commit
that referenced
this issue
Sep 10, 2022
People do weird things 🤷♂️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing things like this frequently:
maybe:
The text was updated successfully, but these errors were encountered: