Skip to content

Commit

Permalink
Merge branch 'pip/prometheus_client-0.14.1' into 'master'
Browse files Browse the repository at this point in the history
Update promethes_client from 0.13.1 to 0.14.1

See merge request ix.ai/cioban!79
  • Loading branch information
tlex committed Jul 31, 2022
2 parents 057dca3 + 9968527 commit 96e70e9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ confidence=
disable=logging-fstring-interpolation,
# too-few-public-methods,
invalid-name,
no-self-use,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -251,13 +250,6 @@ max-line-length=120
# Maximum number of lines in a module.
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
Expand Down
1 change: 1 addition & 0 deletions cioban/lib/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import logging
import os
# pylint: disable=deprecated-module
from distutils.util import strtobool

log = logging.getLogger("cioban")
Expand Down
1 change: 1 addition & 0 deletions cioban/lib/notifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def notify(self, **kwargs):
kwargs['title'] = f'CIOBAN: {title}'
for notifier_name, notifier in self.registered.items():
log.debug(f'Sending notification to {notifier_name}')
# pylint: disable=unnecessary-dunder-call
notification_method = self.__getattribute__(f'{notifier_name}_notify')
notification_method(notifier=notifier, **kwargs)

Expand Down
2 changes: 1 addition & 1 deletion cioban/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prometheus_client==0.13.1
prometheus_client==0.14.1
docker==5.0.3
pause==0.3
pygelf==0.4.2
Expand Down

0 comments on commit 96e70e9

Please sign in to comment.