You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:47:04 UTC
[buildstream] 14/18: Lint fixes
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch tpollard/subrebase
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit c6c18cf9c16bab7c008ef1114396c0465a7f5b88
Author: Tom Pollard <to...@codethink.co.uk>
AuthorDate: Tue Oct 29 12:52:27 2019 +0000
Lint fixes
---
setup.cfg | 2 +-
src/buildstream/_scheduler/scheduler.py | 1 -
src/buildstream/_stream.py | 3 +--
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/setup.cfg b/setup.cfg
index 3637586..78b4fb7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,7 +30,7 @@ warn_no_return = True
# Ignore missing stubs for third-party packages.
# In future, these should be re-enabled if/when stubs for them become available.
-[mypy-copyreg,arpy,grpc,pluginbase,psutil,py,pyroaring,pytest,_pytest.*,ruamel]
+[mypy-copyreg,arpy,grpc,pluginbase,psutil,py,pyroaring,pytest,_pytest.*,ruamel,tblib]
ignore_missing_imports=True
# Ignore missing stubs for Cythonized modules.
diff --git a/src/buildstream/_scheduler/scheduler.py b/src/buildstream/_scheduler/scheduler.py
index 9896ac7..92710bf 100644
--- a/src/buildstream/_scheduler/scheduler.py
+++ b/src/buildstream/_scheduler/scheduler.py
@@ -24,7 +24,6 @@ import asyncio
from itertools import chain
import signal
import datetime
-import queue
# Local imports
from .resources import Resources
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index 1d61c64..854d161 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -20,7 +20,6 @@
# Tristan Maat <tr...@codethink.co.uk>
import asyncio
-import functools
import multiprocessing as mp
import os
import sys
@@ -29,7 +28,6 @@ import shlex
import shutil
import tarfile
import tempfile
-import queue
import signal
from contextlib import contextmanager, suppress
from fnmatch import fnmatch
@@ -70,6 +68,7 @@ from .plugin import Plugin
from . import utils, _yaml, _site, _signals
from . import Scope
+
# Stream()
#
# This is the main, toplevel calling interface in BuildStream core.