Skip to content

Commit

Permalink
Merge branch '4.5.x' into 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Apr 30, 2022
2 parents 8d4d47f + 2a354d4 commit f475bf1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -43,7 +43,7 @@
'lint': [
'flake8>=3.5.0',
'isort',
'mypy>=0.931',
'mypy>=0.950',
'docutils-stubs',
"types-typed-ast",
"types-requests",
Expand Down
2 changes: 1 addition & 1 deletion sphinx/domains/python.py
Expand Up @@ -1466,7 +1466,7 @@ def istyping(s: str) -> bool:
if s.startswith('typing.'):
s = s.split('.', 1)[1]

return s in typing.__all__ # type: ignore
return s in typing.__all__

if node.get('refdomain') != 'py':
return None
Expand Down
6 changes: 3 additions & 3 deletions sphinx/locale/__init__.py
Expand Up @@ -59,19 +59,19 @@ def __str__(self) -> str:
def __add__(self, other: str) -> str: # type: ignore
return self.data + other

def __radd__(self, other: str) -> str:
def __radd__(self, other: str) -> str: # type: ignore
return other + self.data

def __mod__(self, other: str) -> str: # type: ignore
return self.data % other

def __rmod__(self, other: str) -> str:
def __rmod__(self, other: str) -> str: # type: ignore
return other % self.data

def __mul__(self, other: Any) -> str: # type: ignore
return self.data * other

def __rmul__(self, other: Any) -> str:
def __rmul__(self, other: Any) -> str: # type: ignore
return other * self.data

def __getattr__(self, name: str) -> Any:
Expand Down

0 comments on commit f475bf1

Please sign in to comment.