Skip to content

Commit

Permalink
update folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
ghinks committed Jan 14, 2025
1 parent cf2a1ff commit 1329c7a
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
/github_review_counter/queries/graphql.config.yml
/reviewtally/queries/graphql.config.yml
TODOS.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion github_review_counter/main.py → reviewtally/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from tabulate import tabulate

from github_review_counter.queries.local_exceptions import (
from reviewtally.queries.local_exceptions import (
GitHubTokenNotDefinedError,
LoginNotFoundError,
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import requests

from github_review_counter.queries import TIMEOUT
from reviewtally.queries import TIMEOUT

GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import requests

from github_review_counter.queries import TIMEOUT
from github_review_counter.queries.local_exceptions import (
from reviewtally.queries import TIMEOUT
from reviewtally.queries.local_exceptions import (
GitHubTokenNotDefinedError,
)

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/get_reviewers/test_get_reviewers_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import pytest
from aioresponses import aioresponses

from github_review_counter.queries.get_reviewers_rest import fetch
from reviewtally.queries.get_reviewers_rest import fetch


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/get_reviewers/test_get_reviewers_rest_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import aiohttp
from aioresponses import aioresponses

from github_review_counter.queries.get_reviewers_rest import fetch
from reviewtally.queries.get_reviewers_rest import fetch
from tests.utils import get_reviews_url, read_reviews_file


Expand Down
2 changes: 1 addition & 1 deletion tests/get_reviewers/test_get_reviewers_rest_fetch_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from aioresponses import aioresponses

from github_review_counter.queries.get_reviewers_rest import fetch_batch
from reviewtally.queries.get_reviewers_rest import fetch_batch
from tests.utils import get_reviews_url, read_reviews_file


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from aioresponses import aioresponses

from github_review_counter.queries.get_reviewers_rest import (
from reviewtally.queries.get_reviewers_rest import (
get_reviewers_for_pull_requests,
)
from tests.utils import get_reviews_url, read_reviews_file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_get_prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from datetime import datetime, timezone
from unittest.mock import Mock, patch

from github_review_counter.queries.get_prs import (
from reviewtally.queries.get_prs import (
get_pull_requests_between_dates,
)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_get_repos_gql.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import unittest
from unittest.mock import Mock, patch

from github_review_counter.queries.get_repos_gql import get_repos_by_language
from reviewtally.queries.get_repos_gql import get_repos_by_language


class TestGetReposByLanguage(unittest.TestCase):
@patch("github_review_counter.queries.get_repos_gql.requests.post")
@patch("reviewtally.queries.get_repos_gql.requests.post")
@patch.dict(os.environ, {"GITHUB_TOKEN": "test_token"})
def test_get_repos_by_language(self, mock_post) -> None: # noqa: ANN001
# Mock the response from the GitHub API
Expand Down

0 comments on commit 1329c7a

Please sign in to comment.