aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-05-13 10:36:58 -0400
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-06 20:02:37 +0000
commitaa879b7f0cd3ed36e87ee7699e060c48d66f6b67 (patch)
treecdb21419a6e2c99578b5086c557650e97d7936c4 /mesonbuild/compilers
parentb7d442150dd8575f0756e3bc9e953d0f198e16c6 (diff)
downloadmeson-aa879b7f0cd3ed36e87ee7699e060c48d66f6b67.zip
meson-aa879b7f0cd3ed36e87ee7699e060c48d66f6b67.tar.gz
meson-aa879b7f0cd3ed36e87ee7699e060c48d66f6b67.tar.bz2
Fix issues found by flake8
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/__init__.py2
-rw-r--r--mesonbuild/compilers/c.py2
-rw-r--r--mesonbuild/compilers/compilers.py1
-rw-r--r--mesonbuild/compilers/cpp.py1
-rw-r--r--mesonbuild/compilers/fortran.py2
5 files changed, 3 insertions, 5 deletions
diff --git a/mesonbuild/compilers/__init__.py b/mesonbuild/compilers/__init__.py
index 288b3f5..6b31cca 100644
--- a/mesonbuild/compilers/__init__.py
+++ b/mesonbuild/compilers/__init__.py
@@ -41,6 +41,8 @@ __all__ = [
'sanitizer_compile_args',
'sort_clike',
+ 'ArmCCompiler',
+ 'ArmCPPCompiler',
'CCompiler',
'ClangCCompiler',
'ClangCompiler',
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index e14d3d8..90105a0 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import subprocess, os.path, tempfile
+import subprocess, os.path
from .. import mlog
from .. import coredata
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index fcb658b..b61398f 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1281,7 +1281,6 @@ class ElbrusCompiler(GnuCompiler):
break
return paths
-
class ClangCompiler:
def __init__(self, clang_type):
self.id = 'clang'
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index 22f3d67..c3bb59d 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -14,7 +14,6 @@
import os.path
-from .. import mlog
from .. import coredata
from ..mesonlib import version_compare
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py
index 16a89b2..d0b538a 100644
--- a/mesonbuild/compilers/fortran.py
+++ b/mesonbuild/compilers/fortran.py
@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import os.path, subprocess
-
from .c import CCompiler
from .compilers import (
ICC_STANDARD,