Skip to content

Commit 0c65572

Browse files
committed
chore: remove unused pyright overrides
1 parent e210a93 commit 0c65572

8 files changed

Lines changed: 5 additions & 15 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,11 @@ disable = [
159159
]
160160

161161
[tool.pyright]
162-
executionEnvironments = [
163-
{reportMissingImports = "none", root = "social_core/backends/gae.py"}
164-
]
165162
pythonVersion = "3.10"
166163
reportOptionalMemberAccess = "none"
167164
reportPossiblyUnboundVariable = "none"
165+
venv = ".venv"
166+
venvPath = "."
168167

169168
[tool.pytest.ini_options]
170169
addopts = "--cov=social_core --cov-report=xml --durations=10"

social_core/backends/gae.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"""
44

55
# pylint: disable-next=import-error,no-name-in-module
6-
from google.appengine.api import users # ty: ignore[unresolved-import]
6+
from google.appengine.api import ( # type: ignore[unresolved-import] # ty: ignore[unresolved-import]
7+
users,
8+
)
79

810
from social_core.exceptions import AuthException
911

social_core/tests/backends/open_id.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# pyright: reportAttributeAccessIssue=false
2-
31
from html.parser import HTMLParser
42

53
import requests

social_core/tests/backends/test_bitbucket_datacenter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# pyright: reportAttributeAccessIssue=false
2-
31
import json
42
from abc import ABC
53

social_core/tests/backends/test_cognito.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# pyright: reportAttributeAccessIssue=false
2-
31
import json
42

53
from .oauth import BaseAuthUrlTestMixin, OAuth2Test

social_core/tests/backends/test_etsy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# pyright: reportAttributeAccessIssue=false
2-
31
import json
42
from abc import ABC
53

social_core/tests/backends/test_stripe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pyright: reportAttributeAccessIssue=false
21
import json
32

43
import requests

social_core/tests/backends/test_twitter_oauth2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# pyright: reportAttributeAccessIssue=false
2-
31
import json
42
from abc import ABC
53

0 commit comments

Comments
 (0)