summaryrefslogtreecommitdiff
path: root/pkg_resources
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-04-26 10:44:13 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-04-26 10:44:13 -0400
commita78cfe13a10e176f867d8a7b20f70ccfbbaa0d8d (patch)
tree10b96797258fcf4b7f8ea4d6d77e93cdc3cf4195 /pkg_resources
parent0e2d03c65eee67b2357069bd0de3eda453d8a319 (diff)
downloadpython-setuptools-git-a78cfe13a10e176f867d8a7b20f70ccfbbaa0d8d.tar.gz
Declare variables for nicer linting.
Diffstat (limited to 'pkg_resources')
-rw-r--r--pkg_resources/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index 0721baa8..17dcbe99 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -89,6 +89,12 @@ except ImportError:
import packaging.specifiers
+# declare some globals that will be defined later to
+# satisfy the linters.
+require = None
+working_set = None
+
+
class PEP440Warning(RuntimeWarning):
"""
Used when there is an issue with a version or specifier not complying with