(body: str)
| 165 | |
| 166 | # Replace GitHub mentions with non mentions, to prevent spamming people |
| 167 | def strip_mentions(body: str) -> str: |
| 168 | return RE_MENTION.sub(r"\1", body) |
| 169 | |
| 170 | |
| 171 | STACK_HEADER = f"Stack from [ghstack](https://github.com/ezyang/ghstack/tree/{ghstack.__version__}) (oldest at bottom)" |