Skip to content

Commit eabb14c

Browse files
committed
ruff
1 parent 42eb74a commit eabb14c

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

pcre/pcre.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from .cache import clear_cache as _clear_cache
1919
from .flags import Flag, strip_py_only_flags
2020

21+
2122
# Cache frequently used flag values as plain integers to avoid the overhead of
2223
# IntFlag arithmetic in hot paths such as module-level search helpers.
2324
COMPAT_UNICODE_ESCAPE: int = int(Flag.COMPAT_UNICODE_ESCAPE)
@@ -29,11 +30,12 @@
2930
NO_UCP: int = int(Flag.NO_UCP)
3031
from .re_compat import (
3132
Match as _CompatMatch,
33+
)
34+
from .re_compat import (
3235
TemplatePatternStub,
3336
coerce_group_value,
3437
coerce_subject_slice,
3538
compute_next_pos,
36-
count_capturing_groups,
3739
is_bytes_like,
3840
join_parts,
3941
maybe_infer_group_count,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
compiler_supports_flags,
2727
discover_include_dirs,
2828
discover_library_dirs,
29+
ensure_python_headers,
2930
extend_env_paths,
3031
extend_unique,
31-
ensure_python_headers,
3232
filter_incompatible_multiarch,
3333
find_library_with_brew,
3434
find_library_with_ldconfig,

tests/test_clobber_thread.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import pcre
1919
import pytest
20+
2021
from tests import test_clobber as fuzz_core
2122

2223

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import re
12
import types
23
from collections import OrderedDict
3-
import re
44

55
import pytest
66
from pcre import Flag

0 commit comments

Comments
 (0)