diff --git a/.gitignore b/.gitignore index 937072e..0de16f4 100644 --- a/.gitignore +++ b/.gitignore @@ -142,3 +142,4 @@ dmypy.json # End of https://www.toptal.com/developers/gitignore/api/python .virtualenv +.direnv diff --git a/src/cli.py b/src/cli.py index 684a448..f28de29 100644 --- a/src/cli.py +++ b/src/cli.py @@ -115,7 +115,7 @@ def _comma_seperated_argument(_ctx, _param, value): help="Prefix all metrics with a string. " "This option replaces the 'celery_*' part with a custom prefix. ", ) -def cli( # pylint: disable=too-many-arguments,too-many-locals +def cli( # pylint: disable=too-many-arguments,too-many-positional-arguments,too-many-locals broker_url, broker_transport_option, accept_content, diff --git a/src/exporter.py b/src/exporter.py index c856953..3e7f8f1 100644 --- a/src/exporter.py +++ b/src/exporter.py @@ -3,7 +3,6 @@ import re import sys import time - from collections import defaultdict from typing import Callable, Optional @@ -21,7 +20,7 @@ class Exporter: # pylint: disable=too-many-instance-attributes,too-many-branches state: State = None - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments def __init__( self, buckets=None,