Commit 070c8985 authored by Roman Yurchak's avatar Roman Yurchak Committed by GitHub

Merge pull request #204 from mdboom/lint-pyodide-build

MAINT: Lint all the things
parents 3cb8eaca eda430ca
......@@ -118,9 +118,7 @@ test: all
lint:
flake8 src
flake8 test
flake8 tools/*
flake8 src test tools pyodide_build benchmark/benchmark.py benchmark/plot_benchmark.py
clang-format -output-replacements-xml src/*.c src/*.h src/*.js | (! grep '<replacement ')
......
......@@ -7,7 +7,7 @@ import sys
sys.path.insert(
0, str((Path(__file__).resolve().parents[1] / 'test')))
import conftest
import conftest # noqa
SKIP = set(['fft', 'hyantes'])
......
......@@ -108,7 +108,7 @@ def handle_command(line, args):
for arg in line:
if r'/file.c' in arg or '_configtest' in arg:
return
if re.match('/tmp/.*/source\.[bco]+', arg):
if re.match(r'/tmp/.*/source\.[bco]+', arg):
return
if arg == '-print-multiarch':
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment