Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
070c8985
Commit
070c8985
authored
Oct 02, 2018
by
Roman Yurchak
Committed by
GitHub
Oct 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #204 from mdboom/lint-pyodide-build
MAINT: Lint all the things
parents
3cb8eaca
eda430ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
Makefile
Makefile
+1
-3
benchmark/benchmark.py
benchmark/benchmark.py
+1
-1
pyodide_build/pywasmcross.py
pyodide_build/pywasmcross.py
+1
-1
No files found.
Makefile
View file @
070c8985
...
@@ -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 '
)
...
...
benchmark/benchmark.py
View file @
070c8985
...
@@ -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'
])
...
...
pyodide_build/pywasmcross.py
View file @
070c8985
...
@@ -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
\
.[
b
co]+'
,
arg
):
if
re
.
match
(
r
'/tmp/.*/source\
.[
bco]+'
,
arg
):
return
return
if
arg
==
'-print-multiarch'
:
if
arg
==
'-print-multiarch'
:
return
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment