mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Update ecosystem script to account for 4 letter code (#5627)
E.g., `PERF`
This commit is contained in:
parent
ac2e374a5a
commit
9dd05424c4
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ async def main(
|
|||
for line in diff_str.splitlines():
|
||||
# Find rule change for current line or construction
|
||||
# + <rule>/<path>:<line>:<column>: <rule_code> <message>
|
||||
matches = re.search(r": ([A-Z]{1,3}[0-9]{3,4})", line)
|
||||
matches = re.search(r": ([A-Z]{1,4}[0-9]{3,4})", line)
|
||||
|
||||
if matches is None:
|
||||
# Handle case where there are no regex matches e.g.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue