From a78cfe13a10e176f867d8a7b20f70ccfbbaa0d8d Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 26 Apr 2015 10:44:13 -0400 Subject: Declare variables for nicer linting. --- pkg_resources/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg_resources') 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 -- cgit v1.2.1