Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
577a0366
Commit
577a0366
authored
Dec 21, 2019
by
Aymeric Augustin
Browse files
Enforce flake8 in CI.
parent
7c681264
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.circleci/config.yml
.circleci/config.yml
+2
-1
No files found.
.circleci/config.yml
View file @
577a0366
...
...
@@ -96,9 +96,10 @@ jobs:
-
checkout
-
run
:
sudo pip install --editable .
-
run
:
sudo pip install torch tensorflow tensorboardX scikit-learn
-
run
:
sudo pip install black git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort
-
run
:
sudo pip install black git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort
flake8
-
run
:
black --check --line-length 119 examples templates transformers utils
-
run
:
isort --check-only --recursive examples templates transformers utils
-
run
:
flake8 examples templates transformers utils
check_repository_consistency
:
working_directory
:
~/transformers
docker
:
...
...
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