Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hithwen committed Oct 24, 2019
1 parent 6ab4df9 commit fb0cba8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion postgres/datadog_checks/postgres/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def check(self, instance):
self._connect(host, port, user, password, dbname, ssl, tags)
if tag_replication_role:
tags.extend(["replication_role:{}".format(self._get_replication_role())])
self.log.debug("Running check against version %s" % self.version)
self.log.debug("Running check against version %s", self.version)
self._collect_stats(
user,
tags,
Expand Down
1 change: 0 additions & 1 deletion postgres/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Licensed under Simplified BSD License (see LICENSE)
import os

import mock
import psycopg2
import pytest
from semver import VersionInfo
Expand Down
2 changes: 1 addition & 1 deletion postgres/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import mock
import psycopg2
import pytest
from semver import VersionInfo

from datadog_checks.postgres import PostgreSql
from semver import VersionInfo

from .common import DB_NAME, HOST, PORT, POSTGRES_VERSION, check_bgw_metrics, check_common_metrics
from .utils import requires_over_10
Expand Down

0 comments on commit fb0cba8

Please sign in to comment.