You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moved the regular expression compilation for parsing chunk headers to the class level in the Patch class. This change optimizes the performance by compiling the regular expression (`CHUNK_HEADER_REGEX`) only once, rather than on every invocation of the `parse_line` method. This enhancement improves efficiency without altering the functionality or readability of the code.
Restored the `# noqa: PLR0911` comment in the `parse_line` method of the `Patch` class.
0 commit comments