Activate check on the CI (#6427)

* Activate check on the CI

* Fix repo inconsistencies

* Don't document too much
This commit is contained in:
Sylvain Gugger 2020-08-12 08:42:14 -04:00 committed by GitHub
parent 34fabe1697
commit a8db954cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -245,6 +245,7 @@ jobs:
- run: black --check --line-length 119 --target-version py35 examples templates tests src utils
- run: isort --check-only --recursive examples templates tests src utils
- run: flake8 examples templates tests src utils
- run: python utils/check_repo.py
check_repository_consistency:
working_directory: ~/transformers
docker:

View File

@ -67,7 +67,7 @@ This class inherits all functionality from ``BartForConditionalGeneration``, see
Available models are listed at `Model List <https://huggingface.co/models?search=pegasus>`__
.. autoclass:: transformers.PegasusForConditionalGeneration
:members: generate, forward
:members:
PegasusConfig