Skip to content

Commit

Permalink
fix: mypy (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanomunarini committed Oct 25, 2023
1 parent b3edc82 commit 31dc5f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from os import access, path, R_OK, W_OK, X_OK
from pathlib import Path
from shutil import rmtree
from git import Repo # type: ignore[attr-defined]
from git import Repo
from celery.utils.log import get_task_logger
from django.core.exceptions import SuspiciousOperation
from django.conf import settings
Expand Down
2 changes: 1 addition & 1 deletion main/tests/test_apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setUp(self):
)
import datatracker.auth

datatracker.auth.token_is_valid = lambda key: True
datatracker.auth.token_is_valid = lambda key: True # type: ignore[assignment]

self.api_headers = {
"HTTP_X_DATATRACKER_TOKEN": "test",
Expand Down

0 comments on commit 31dc5f2

Please sign in to comment.