From f6efcadc45633373de5712154b5d9c63109723d4 Mon Sep 17 00:00:00 2001 From: user2589 Date: Sat, 25 Jul 2020 12:05:18 -0400 Subject: [PATCH] ci: fix typo in env var name --- .github/workflows/test.yml | 4 ++-- docs/index.rst | 2 +- stscraper/github.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d61ed6d..15b8e4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - python-version: [2.7, 3.6, 3.7, 3.8] + python-version: [2.7, 3.6, 3.8] steps: - uses: actions/checkout@v2 @@ -35,5 +35,5 @@ jobs: - name: Run tests on Python ${{ matrix.python-version }} env: - GITHUB_API_TOKENS: ${{ secrets.GH_TOKEN }} + GITHUB_API_TOKENS: ${{ secrets.GH_TOKENS }} run: make test diff --git a/docs/index.rst b/docs/index.rst index 8cf1bb0..efb1448 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -60,7 +60,7 @@ REST (v3) API ------------- .. autoclass:: GitHubAPI :members: - :exclude-members: + :exclude-members: token_class GraphQL (v4) API ---------------- diff --git a/stscraper/github.py b/stscraper/github.py index ea70690..a1d207f 100644 --- a/stscraper/github.py +++ b/stscraper/github.py @@ -307,7 +307,8 @@ def issue_events(self, repo, issue_no): @staticmethod def project_exists(repo_slug): """Check if the project exists. - This is a slightly cheaper alternative to getting repository info. + This is a slightly cheaper alternative to getting repository info. It + does not using API keys. """ for i in range(5): try: