aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-26 09:37:39 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-09-24 10:36:05 -0700
commit9795323b8649b8615e55cad981d235e432afef02 (patch)
tree4a53251558aca1906f776893604d45ff03cf74dc /mesonbuild/cmake
parent92b21a0045e32229f5b3b01429b683fbe1f33abe (diff)
downloadmeson-9795323b8649b8615e55cad981d235e432afef02.zip
meson-9795323b8649b8615e55cad981d235e432afef02.tar.gz
meson-9795323b8649b8615e55cad981d235e432afef02.tar.bz2
pylint: check for duplicate imports
I ran into one of these from LGTM, and it would be nice if pylint could warn me as part of my local development process instead of waiting for the CI to tell me.
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r--mesonbuild/cmake/executor.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/cmake/executor.py b/mesonbuild/cmake/executor.py
index 7b06f26..65ff730 100644
--- a/mesonbuild/cmake/executor.py
+++ b/mesonbuild/cmake/executor.py
@@ -28,7 +28,6 @@ from ..mesonlib import PerMachine, Popen_safe, version_compare, MachineChoice, i
from ..programs import find_external_program, NonExistingExternalProgram
if T.TYPE_CHECKING:
- from ..environment import Environment
from ..programs import ExternalProgram
TYPE_result = T.Tuple[int, T.Optional[str], T.Optional[str]]