aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--quarg/actions.py1
-rw-r--r--quarg/database/tables.py5
-rw-r--r--quarg/main.py2
-rw-r--r--quarg/quassel/formatter.py2
4 files changed, 0 insertions, 10 deletions
diff --git a/quarg/actions.py b/quarg/actions.py
index 6aadc3d..19ce59c 100644
--- a/quarg/actions.py
+++ b/quarg/actions.py
@@ -7,7 +7,6 @@ import dateutil.relativedelta
from quarg.quassel.types import BufferType, MessageFlag, MessageType
from quarg.utils import errx, parse_isodate
-# pylint: disable=too-few-public-methods, unsupported-membership-test
class ParseEnum(argparse.Action, metaclass=ABCMeta):
def __call__(self, parser, namespace, value, option_string=None):
diff --git a/quarg/database/tables.py b/quarg/database/tables.py
index 6e92c14..9b819d9 100644
--- a/quarg/database/tables.py
+++ b/quarg/database/tables.py
@@ -5,15 +5,10 @@ from sqlalchemy.types import BigInteger, Boolean, DateTime, Integer, Text, TypeD
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship
-# pylint: disable=too-few-public-methods
# Timestamps are saved in the database in UTC without timezone info, so attach
# a UTC timezone to the datetime object
class DateTimeUTC(TypeDecorator):
- # pylint complains that process_literal_param and python_type are
- # abstract but not overriden. This seems to not be necessary with
- # SQLAlchemy, so squash those warnings
- # pylint: disable=abstract-method
impl = TypeEngine
cache_ok = True
diff --git a/quarg/main.py b/quarg/main.py
index 9fde869..7deb900 100644
--- a/quarg/main.py
+++ b/quarg/main.py
@@ -13,7 +13,6 @@ import quarg.quassel.formatter as formatter
from quarg.database.tables import Backlog, Buffer, Network, QuasselUser, Sender
from quarg.utils import errx
-# pylint: disable=line-too-long
cli = argparse.ArgumentParser()
cli.add_argument('keyword', nargs='*', help='match messages containing this keyword')
cli.add_argument('-d', action='store_true', dest='debug', help='print debug and SQL query information')
@@ -37,7 +36,6 @@ date_matchers.add_argument('--around', action=actions.ParseAround, metavar='DATE
joined_group = matchers.add_mutually_exclusive_group()
joined_group.add_argument('--joined', default=None, action='store_true', dest='joined', help='match buffers which are currently joined')
joined_group.add_argument('--no-joined', default=None, action='store_false', dest='joined', help='match buffers which are not currently joined')
-# pylint: enable=line-too-long
Session = sessionmaker()
diff --git a/quarg/quassel/formatter.py b/quarg/quassel/formatter.py
index 7e7bce6..6a78d7a 100644
--- a/quarg/quassel/formatter.py
+++ b/quarg/quassel/formatter.py
@@ -61,8 +61,6 @@ def format_kick(msg):
return f'<-* {msg.user} has kicked {target} from {msg.buffer}'
def format_kill(msg):
- # pylint: disable=line-too-long
-
# As of 2021-04-24 not even Quassel implements printing this message [1].
# They do have a symbol [2] for it, however, so use that along with the message
# [1] https://github.com/quassel/quassel/blob/285215315e6f2420724532323a4b1bccae156cb1/src/uisupport/uistyle.cpp#L950