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
6e5291a9
Commit
6e5291a9
authored
Dec 21, 2019
by
Aymeric Augustin
Browse files
Enforce black in CI.
parent
fa84ae26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
.circleci/config.yml
.circleci/config.yml
+11
-0
No files found.
.circleci/config.yml
View file @
6e5291a9
...
...
@@ -86,6 +86,16 @@ jobs:
-
run
:
sudo pip install --progress-bar off -r docs/requirements.txt
-
run
:
sudo pip install --progress-bar off -r requirements.txt
-
run
:
./.circleci/deploy.sh
check_code_quality
:
working_directory
:
~/transformers
docker
:
-
image
:
circleci/python:3.6
resource_class
:
small
parallelism
:
1
steps
:
-
checkout
-
run
:
sudo pip install black
-
run
:
black --check --line-length 119 examples templates transformers utils
check_repository_consistency
:
working_directory
:
~/transformers
docker
:
...
...
@@ -105,6 +115,7 @@ workflows:
version
:
2
build_and_test
:
jobs
:
-
check_code_quality
-
check_repository_consistency
-
run_examples_py3_torch
-
run_tests_py3_custom_tokenizers
...
...
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