summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-12-31 13:08:18 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-12-31 19:01:22 +0100
commitfc891f5cf6d93ad533e2afb5e15a2952408ab358 (patch)
treeebe67de5500e5be0891b0b64edd09e0177b74c80 /setuptools/command/egg_info.py
parentc225c4c0f64bf044f2f82693df097ad07f9c12bd (diff)
downloadpython-setuptools-git-fc891f5cf6d93ad533e2afb5e15a2952408ab358.tar.gz
Apply noqa C901 comments to overly complex code
Diffstat (limited to 'setuptools/command/egg_info.py')
-rw-r--r--setuptools/command/egg_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 8e34e4a2..1f120b67 100644
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -32,7 +32,7 @@ from setuptools.extern import packaging
from setuptools import SetuptoolsDeprecationWarning
-def translate_pattern(glob):
+def translate_pattern(glob): # noqa: C901 # is too complex (14) # FIXME
"""
Translate a file path glob like '*.txt' in to a regular expression.
This differs from fnmatch.translate which allows wildcards to match