Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSK
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
koenigl2
OpenSK
Commits
674c4c1b
Commit
674c4c1b
authored
Apr 29, 2020
by
Jean-Michel Picod
Browse files
Options
Downloads
Patches
Plain Diff
Fixing yapf matcher
parent
2e35d007
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/python_matcher.json
+10
-3
10 additions, 3 deletions
.github/python_matcher.json
deploy.py
+3
-3
3 additions, 3 deletions
deploy.py
with
13 additions
and
6 deletions
.github/python_matcher.json
+
10
−
3
View file @
674c4c1b
...
@@ -4,9 +4,16 @@
...
@@ -4,9 +4,16 @@
"owner"
:
"yapf-diff"
,
"owner"
:
"yapf-diff"
,
"pattern"
:
[
"pattern"
:
[
{
{
"regexp"
:
"^(?:---|
\\
+
\\
+
\\
+)
\\
s*([^
\\
s]*)
\\
s*
\\
((?:original|reformatted)
\\
)$"
,
"regexp"
:
"^---
\\
s*([^
\\
s]*)
\\
s*
\\
(original
\\
)$"
,
"file"
:
1
,
"file"
:
1
"message"
:
"This file needs formating."
},
{
"regexp"
:
"^
\\
+
\\
+
\\
+
\\
s*([^
\\
s]*)
\\
s*
\\
(reformatted
\\
)$"
,
"message"
:
2
},
{
"regexp"
:
"^@@
\\
s*-(
\\
d+),(
\\
d+)
\\
s*
\\
+(
\\
d+),(
\\
d+)
\\
s*@@$"
,
"line"
:
1
}
}
]
]
},
},
...
...
This diff is collapsed.
Click to expand it.
deploy.py
+
3
−
3
View file @
674c4c1b
...
@@ -315,8 +315,7 @@ class OpenSKInstaller:
...
@@ -315,8 +315,7 @@ class OpenSKInstaller:
self
.
checked_command_output
([
"
make
"
],
cwd
=
props
.
path
)
self
.
checked_command_output
([
"
make
"
],
cwd
=
props
.
path
)
def
build_example
(
self
):
def
build_example
(
self
):
info
(
info
(
"
Building example {}
"
.
format
(
self
.
args
.
application
))
"
Building example {}
"
.
format
(
self
.
args
.
application
))
self
.
_build_app_or_example
(
is_example
=
True
)
self
.
_build_app_or_example
(
is_example
=
True
)
def
build_opensk
(
self
):
def
build_opensk
(
self
):
...
@@ -343,7 +342,8 @@ class OpenSKInstaller:
...
@@ -343,7 +342,8 @@ class OpenSKInstaller:
env
[
"
RUSTFLAGS
"
]
=
"
"
.
join
(
rust_flags
)
env
[
"
RUSTFLAGS
"
]
=
"
"
.
join
(
rust_flags
)
command
=
[
command
=
[
"
cargo
"
,
"
build
"
,
"
--release
"
,
"
--target={}
"
.
format
(
props
.
arch
),
"
cargo
"
,
"
build
"
,
"
--release
"
,
"
--target={}
"
.
format
(
props
.
arch
),
"
--features={}
"
.
format
(
"
,
"
.
join
(
self
.
args
.
features
))
"
--features={}
"
.
format
(
"
,
"
.
join
(
self
.
args
.
features
))
]
]
if
is_example
:
if
is_example
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment