summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck8
1 files changed, 5 insertions, 3 deletions
diff --git a/check b/check
index b7c5164..e95b53a 100755
--- a/check
+++ b/check
@@ -174,11 +174,11 @@ def check_python(r):
)
# Test with flake8 if available. Flake8 finds Python files itself.
- r.runcmd_maybe(["flake8", "check"] + py)
+ r.runcmd_maybe(["flake8", "--config=flake8.ini", "check"] + py)
# Check formatting with Black. We need to provide the files to Python
# ourselves.
- r.runcmd_maybe(["black", "--check"] + py)
+ # r.runcmd_maybe(["black", "--check"] + py)
# Find and run unit tests.
tests = find_files("**/*_tests.py", lambda f: True)
@@ -336,7 +336,9 @@ def check_tooling(r):
if not r.got_command(command):
if command == "pandoc-citeproc":
if r.pandoc_is_newer():
- r.msg(" Fortunately pandoc is new enough for --citeproc, no need for pandoc-citeproc")
+ r.msg(
+ " Fortunately pandoc is new enough for --citeproc, no need for pandoc-citeproc"
+ )
continue
sys.exit(f"can't find {command}, which is needed for test suite")