aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/lint
diff options
context:
space:
mode:
Diffstat (limited to 'python-packages/lint')
-rwxr-xr-xpython-packages/lint13
1 files changed, 13 insertions, 0 deletions
diff --git a/python-packages/lint b/python-packages/lint
new file mode 100755
index 000000000..0974f273c
--- /dev/null
+++ b/python-packages/lint
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+"""Script to run linters against local copy of all components."""
+
+from os import path
+import subprocess
+
+subprocess.check_call(
+ (
+ f"{path.join('.', 'cmd_pkgs_in_dep_order.py')}"
+ + f" {path.join('.', 'setup.py')} lint"
+ ).split()
+)