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 ...@@ -118,9 +118,7 @@ test: all
lint: lint:
flake8 src flake8 src test tools pyodide_build benchmark/benchmark.py benchmark/plot_benchmark.py
flake8 test
flake8 tools/*
clang-format -output-replacements-xml src/*.c src/*.h src/*.js | (! grep '<replacement ') clang-format -output-replacements-xml src/*.c src/*.h src/*.js | (! grep '<replacement ')
......
...@@ -7,7 +7,7 @@ import sys ...@@ -7,7 +7,7 @@ import sys
sys.path.insert( sys.path.insert(
0, str((Path(__file__).resolve().parents[1] / 'test'))) 0, str((Path(__file__).resolve().parents[1] / 'test')))
import conftest import conftest # noqa
SKIP = set(['fft', 'hyantes']) SKIP = set(['fft', 'hyantes'])
......
...@@ -108,7 +108,7 @@ def handle_command(line, args): ...@@ -108,7 +108,7 @@ def handle_command(line, args):
for arg in line: for arg in line:
if r'/file.c' in arg or '_configtest' in arg: if r'/file.c' in arg or '_configtest' in arg:
return return
if re.match('/tmp/.*/source\.[bco]+', arg): if re.match(r'/tmp/.*/source\.[bco]+', arg):
return return
if arg == '-print-multiarch': if arg == '-print-multiarch':
return 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