From a8db954cda93a07b165875a1eb8e7ff9b313423b Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Wed, 12 Aug 2020 08:42:14 -0400 Subject: [PATCH] Activate check on the CI (#6427) * Activate check on the CI * Fix repo inconsistencies * Don't document too much --- .circleci/config.yml | 1 + docs/source/model_doc/pegasus.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fff81c43c0..e951cb9e1e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/docs/source/model_doc/pegasus.rst b/docs/source/model_doc/pegasus.rst index 7c789fb1f9..b69e96ddc3 100644 --- a/docs/source/model_doc/pegasus.rst +++ b/docs/source/model_doc/pegasus.rst @@ -67,7 +67,7 @@ This class inherits all functionality from ``BartForConditionalGeneration``, see Available models are listed at `Model List `__ .. autoclass:: transformers.PegasusForConditionalGeneration - :members: generate, forward + :members: PegasusConfig