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
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:
...
@@ -15,11 +15,11 @@ jobs:
-
name
:
Install linting dependencies
-
name
:
Install linting dependencies
run
:
|
run
:
|
python -m pip install --upgrade pip
python -m pip install --upgrade pip
pip install flake8
isort yapf
pip install flake8
yapf isort==4.3.21
-
name
:
Lint with flake8
-
name
:
Lint with flake8
run
:
flake8 --max-complexity 20 .
run
:
flake8 --max-complexity 20 .
-
name
:
Lint with isort
-
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
-
name
:
Format python codes with yapf
run
:
yapf -r -d mmcv/ tests/ examples/
run
:
yapf -r -d mmcv/ tests/ examples/
-
name
:
Format c/cuda codes with clang-format
-
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