Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
728b88df
Unverified
Commit
728b88df
authored
Apr 08, 2020
by
Kai Chen
Committed by
GitHub
Apr 08, 2020
Browse files
update CI config and pre-commit hook config (#228)
parent
25a21d7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.pre-commit-config.yaml
.pre-commit-config.yaml
+2
-0
.travis.yml
.travis.yml
+2
-2
No files found.
.pre-commit-config.yaml
View file @
728b88df
...
...
@@ -26,3 +26,5 @@ repos:
-
id
:
double-quote-string-fixer
-
id
:
fix-encoding-pragma
args
:
[
"
--remove"
]
-
id
:
mixed-line-ending
args
:
[
"
--fix=lf"
]
.travis.yml
View file @
728b88df
...
...
@@ -26,8 +26,8 @@ python:
before_script
:
-
pip install codecov flake8 yapf isort
-
flake8
-
isort -rc --diff mmcv/ tests/ examples/
-
flake8
.
-
isort -rc
--check-only
--diff mmcv/ tests/ examples/
-
yapf -r -d mmcv/ tests/ examples/
script
:
coverage run --source=mmcv setup.py test
...
...
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