Skip to content

Commit

Permalink
test: fix linting issues after dependency upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
danihodovic committed Oct 7, 2024
1 parent 8c6abdc commit 9fd0821
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,4 @@ dmypy.json
# End of https://www.toptal.com/developers/gitignore/api/python

.virtualenv
.direnv
2 changes: 1 addition & 1 deletion src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions src/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import re
import sys
import time

from collections import defaultdict
from typing import Callable, Optional

Expand All @@ -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,
Expand Down

0 comments on commit 9fd0821

Please sign in to comment.