diff options
| author | 2021-04-13 15:57:50 +0200 | |
|---|---|---|
| committer | 2021-04-13 15:57:50 +0200 | |
| commit | a3ce39f9d2cb5a91743ce3e2a35535a65fa4034b (patch) | |
| tree | 30e5f440b01724ee7006bdee4a30d59dec6d137c | |
| parent | Update issue matching regex (diff) | |
Linebreak to hopefully not run into linter issues
editing this from the web version because im at work and this fixes the issue linking being basically unusable
| -rw-r--r-- | bot/exts/evergreen/issues.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py index 4dd10d13..a0316080 100644 --- a/bot/exts/evergreen/issues.py +++ b/bot/exts/evergreen/issues.py @@ -52,7 +52,9 @@ MAXIMUM_ISSUES = 5  # Regex used when looking for automatic linking in messages  # regex101 of current regex https://regex101.com/r/V2ji8M/6 -AUTOMATIC_REGEX = re.compile(r"((?P<org>[a-zA-Z0-9][a-zA-Z0-9\-]{1,39})\/)?(?P<repo>[\w\-\.]{1,100})#(?P<number>[0-9]+)") +AUTOMATIC_REGEX = re.compile( +    r"((?P<org>[a-zA-Z0-9][a-zA-Z0-9\-]{1,39})\/)?(?P<repo>[\w\-\.]{1,100})#(?P<number>[0-9]+)" +)  @dataclass | 
