diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-03-03 15:56:33 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-03-03 21:06:45 +0000 |
commit | cd5dba5358e8a4f7a9d4a1ebf315db1f65c87180 (patch) | |
tree | cf5a049f7402680fbc28e775a0e489bcf16a7d43 /mesonbuild/minit.py | |
parent | 275c737d571709f0653c24d18a3adb14bbd9cb2f (diff) | |
download | meson-cd5dba5358e8a4f7a9d4a1ebf315db1f65c87180.zip meson-cd5dba5358e8a4f7a9d4a1ebf315db1f65c87180.tar.gz meson-cd5dba5358e8a4f7a9d4a1ebf315db1f65c87180.tar.bz2 |
Fix flake8 'imported but unused' reports
$ flake8 | grep F401
./meson.py:17:1: F401 'mesonbuild.mesonlib' imported but unused
./meson.py:18:1: F401 'locale' imported but unused
./run_unittests.py:24:1: F401 'sys' imported but unused
./mesonbuild/minit.py:2:1: F401 'pyclbr.Function' imported but unused
./mesonbuild/minit.py:18:1: F401 'os' imported but unused
./mesonbuild/backend/vs2010backend.py:15:1: F401 'sys' imported but unused
./mesonbuild/backend/xcodebackend.py:19:1: F401 'sys' imported but unused
./mesonbuild/dependencies/ui.py:20:1: F401 'shutil' imported but unused
./mesonbuild/modules/python3.py:15:1: F401 'sys' imported but unused
./mesonbuild/modules/unstable_icestorm.py:15:1: F401 '..compilers' imported but unused
./mesonbuild/modules/unstable_icestorm.py:15:1: F401 '..mlog' imported but unused
./test cases/common/98 gen extra/srcgen3.py:3:1: F401 'os' imported but unused
Diffstat (limited to 'mesonbuild/minit.py')
-rw-r--r-- | mesonbuild/minit.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index 98817cb..62e2639 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -1,5 +1,4 @@ # Copyright 2017 The Meson development team -from pyclbr import Function # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,7 +14,7 @@ from pyclbr import Function """Code that creates simple startup projects.""" -import os, sys, argparse, re +import sys, argparse, re from glob import glob lib_h_template = '''#pragma once |