Skip to content
Myr

[pre-commit.ci] pre-commit autoupdate (#1822)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by GitHub · parents 3e07d14, 832bdaa · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:scripts/generate_identifier_pattern.py+2 added-2 removed
27 unmodified lines
28 sequential code points.2930 Source: https://stackoverflow.com/a/4629241/40061731 """32 for _, b in itertools.groupby(enumerate(data), lambda x: ord(x[1]) - x[0]):33 b = list(b)32 for _, g in itertools.groupby(enumerate(data), lambda x: ord(x[1]) - x[0]):33 b = list(g)34 yield b[0][1], b[-1][1]353637def build_pattern(ranges):
37 unmodified lines
modified:.pre-commit-config.yaml+1 added-1 removed