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
e2ee171a
"git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "93bed794e94fd08c8cc76787ffc3028efa53d0e5"
Unverified
Commit
e2ee171a
authored
Jul 05, 2020
by
Kai Chen
Committed by
GitHub
Jul 05, 2020
Browse files
Fix the version of isort (#385)
parent
4004a3d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.github/workflows/build.yml
.github/workflows/build.yml
+2
-2
No files found.
.github/workflows/build.yml
View file @
e2ee171a
...
...
@@ -15,11 +15,11 @@ jobs:
-
name
:
Install linting dependencies
run
:
|
python -m pip install --upgrade pip
pip install flake8
isort yapf
pip install flake8
yapf isort==4.3.21
-
name
:
Lint with flake8
run
:
flake8 --max-complexity 20 .
-
name
:
Lint with isort
run
:
isort -
rc
--check-only --diff mmcv/ tests/ examples/
run
:
isort -
-recursive
--check-only --diff mmcv/ tests/ examples/
-
name
:
Format python codes with yapf
run
:
yapf -r -d mmcv/ tests/ examples/
-
name
:
Format c/cuda codes with clang-format
...
...
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