summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-phab4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-phab b/git-phab
index 3292f26..20a910e 100755
--- a/git-phab
+++ b/git-phab
@@ -747,7 +747,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri)
def run_linter(self):
if not os.path.exists(".pre-commit-config.yaml"):
if os.path.exists(".arclint"):
- return subprocess.check_output("arc lint",
+ return subprocess.check_output("arc lint --never-apply-patches",
shell=True).decode("utf-8")
else:
return None
@@ -969,7 +969,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri)
print(" * Running linters...", end="")
linter_status = "none"
try:
- self.run_linter()
+ print(self.run_linter())
print("%s OK%s" % (Colors.OKGREEN, Colors.ENDC))
linter_status = "okay"
except BaseException as e: