Skip to content

Commit a255830

Browse files
committed
Removing LGTM as the service is going offline shortly
1 parent f492f85 commit a255830

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ The Python interface to the Redis key-value store.
88
[![pypi](https://badge.fury.io/py/redis.svg)](https://pypi.org/project/redis/)
99
[![pre-release](https://img.shields.io/github/v/release/redis/redis-py?include_prereleases&label=latest-prerelease)](https://github.com/redis/redis-py/releases)
1010
[![codecov](https://codecov.io/gh/redis/redis-py/branch/master/graph/badge.svg?token=yenl5fzxxr)](https://codecov.io/gh/redis/redis-py)
11-
[![Total alerts](https://img.shields.io/lgtm/alerts/g/redis/redis-py.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/redis/redis-py/alerts/)
1211

1312
[Installation](#installation) | [Usage](#usage) | [Advanced Topics](#advanced-topics) | [Contributing](https://github.com/redis/redis-py/blob/master/CONTRIBUTING.md)
1413

redis/asyncio/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ async def __call__(self, e: BaseException, pubsub: PubSub):
10321032
CommandStackT = List[CommandT]
10331033

10341034

1035-
class Pipeline(Redis): # lgtm [py/init-calls-subclass]
1035+
class Pipeline(Redis):
10361036
"""
10371037
Pipelines provide a way to transmit multiple commands to the Redis server
10381038
in one transmission. This is convenient for batch processing, such as

redis/asyncio/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ def get(self) -> ssl.SSLContext:
10031003
return self.context
10041004

10051005

1006-
class UnixDomainSocketConnection(Connection): # lgtm [py/missing-call-to-init]
1006+
class UnixDomainSocketConnection(Connection):
10071007
def __init__(
10081008
self,
10091009
*,
@@ -1275,7 +1275,7 @@ def __init__(
12751275
self._created_connections: int
12761276
self._available_connections: List[Connection]
12771277
self._in_use_connections: Set[Connection]
1278-
self.reset() # lgtm [py/init-calls-subclass]
1278+
self.reset()
12791279
self.encoder_class = self.connection_kwargs.get("encoder_class", Encoder)
12801280

12811281
def __repr__(self):

redis/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# flake8: noqa
22
try:
3-
from typing import Literal, Protocol, TypedDict # lgtm [py/unused-import]
3+
from typing import Literal, Protocol, TypedDict
44
except ImportError:
5-
from typing_extensions import ( # lgtm [py/unused-import]
5+
from typing_extensions import (
66
Literal,
77
Protocol,
88
TypedDict,

0 commit comments

Comments
 (0)