Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
30a2f688
Commit
30a2f688
authored
Aug 30, 2019
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'actions'
parents
9e8e9fb8
dee26465
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
8 deletions
+35
-8
.github/main.workflow
.github/main.workflow
+0
-8
.github/workflows/linter.yml
.github/workflows/linter.yml
+33
-0
examples/tox.ini
examples/tox.ini
+1
-0
tox.ini
tox.ini
+1
-0
No files found.
.github/main.workflow
deleted
100644 → 0
View file @
9e8e9fb8
workflow "python syntax checker" {
resolves = ["Python Syntax Checker"]
on = "push"
}
action "Python Syntax Checker" {
uses = "cclauss/Find-Python-syntax-errors-action@master"
}
.github/workflows/linter.yml
0 → 100644
View file @
30a2f688
name
:
Linter
on
:
[
push
,
pull_request
]
jobs
:
lint
:
runs-on
:
ubuntu-latest
strategy
:
max-parallel
:
4
matrix
:
python-version
:
[
2.7
,
3.5
,
3.6
,
3.7
]
steps
:
-
uses
:
actions/checkout
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v1
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install flake8
flake8 --version
-
name
:
Lint
run
:
|
flake8 .
-
name
:
Lint Examples
# some examples are py3 only
if
:
matrix.python-version !=
2.7
run
:
|
cd examples
flake8 .
examples/tox.ini
View file @
30a2f688
...
@@ -4,3 +4,4 @@ ignore = F403,F405,E402,E741,E742,E743,W504,W605
...
@@ -4,3 +4,4 @@ ignore = F403,F405,E402,E741,E742,E743,W504,W605
exclude
=
private,
exclude
=
private,
FasterRCNN/utils,
FasterRCNN/utils,
__init__.py
__init__.py
show-source
=
true
tox.ini
View file @
30a2f688
...
@@ -12,6 +12,7 @@ exclude = .git,
...
@@ -12,6 +12,7 @@ exclude = .git,
snippet,
snippet,
examples_v2,
examples_v2,
_test.py,
_test.py,
show-source
=
true
[isort]
[isort]
line_length
=
100
line_length
=
100
...
...
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