summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-03 12:27:59 +0200
committerDavid Robillard <d@drobilla.net>2020-08-03 12:27:59 +0200
commit7f711e938900cc7ab714ebb5279d2312964a41b1 (patch)
tree7d17c8af62c2db0a06de659be629fee340b2c5ca /wscript
parentb979d48b8570610db121cabc6352a47145922f27 (diff)
downloadingen-7f711e938900cc7ab714ebb5279d2312964a41b1.tar.gz
ingen-7f711e938900cc7ab714ebb5279d2312964a41b1.tar.bz2
ingen-7f711e938900cc7ab714ebb5279d2312964a41b1.zip
Move misplaced import
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index dea1ccb3..cd0e1eea 100644
--- a/wscript
+++ b/wscript
@@ -355,6 +355,7 @@ class LintContext(Build.BuildContext):
def lint(ctx):
"checks code for style issues"
import subprocess
+ import sys
st = 0
@@ -378,7 +379,6 @@ def lint(ctx):
Logs.info("Running clang-tidy")
import json
- import sys
with open('build/compile_commands.json', 'r') as db:
commands = json.load(db)