Skip to content

Commit bdfee0d

Browse files
committed
Ignore flake8 complexity errors on _macos_libfile.py
1 parent 268b1a2 commit bdfee0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setuptools/command/_macosx_libfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def read_data(struct_class, lib_file):
278278
return struct_class.from_buffer_copy(lib_file.read(ctypes.sizeof(struct_class)))
279279

280280

281-
def extract_macosx_min_system_version(path_to_lib):
281+
def extract_macosx_min_system_version(path_to_lib): # noqa: C901
282282
with open(path_to_lib, "rb") as lib_file:
283283
BaseClass, magic_number = get_base_class_and_magic_number(lib_file, 0)
284284
if magic_number not in [FAT_MAGIC, FAT_MAGIC_64, MH_MAGIC, MH_MAGIC_64]:
@@ -392,7 +392,7 @@ def parse_version(version):
392392
return x, y, z
393393

394394

395-
def calculate_macosx_platform_tag(archive_root, platform_tag):
395+
def calculate_macosx_platform_tag(archive_root, platform_tag): # noqa: C901
396396
"""
397397
Calculate proper macosx platform tag basing on files which are included to wheel
398398

0 commit comments

Comments
 (0)