Skip to content

Commit 82b1dbc

Browse files
committed
Update ruff to the latest (0.11.13) version
1 parent 16ec2f8 commit 82b1dbc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

django_prometheus/db/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818

1919
execute_total = Counter(
2020
"django_db_execute_total",
21-
("Counter of executed statements by database and by vendor, including" " bulk executions."),
21+
("Counter of executed statements by database and by vendor, including bulk executions."),
2222
["alias", "vendor"],
2323
namespace=NAMESPACE,
2424
)
2525

2626

2727
execute_many_total = Counter(
2828
"django_db_execute_many_total",
29-
("Counter of executed statements in bulk operations by database and" " by vendor."),
29+
("Counter of executed statements in bulk operations by database and by vendor."),
3030
["alias", "vendor"],
3131
namespace=NAMESPACE,
3232
)

django_prometheus/exports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def SetupPrometheusEndpointOnPortRange(port_range, addr=""):
9393
thread.start()
9494
logger.info("Exporting Prometheus /metrics/ on port %s" % port)
9595
return port # Stop trying ports at this point
96-
logger.warning("Cannot export Prometheus /metrics/ - " "no available ports in supplied range")
96+
logger.warning("Cannot export Prometheus /metrics/ - no available ports in supplied range")
9797
return None
9898

9999

django_prometheus/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def register(self):
3636
self.requests_latency_before = self.register_metric(
3737
Histogram,
3838
"django_http_requests_latency_including_middlewares_seconds",
39-
("Histogram of requests processing time (including middleware " "processing time)."),
39+
("Histogram of requests processing time (including middleware processing time)."),
4040
buckets=PROMETHEUS_LATENCY_BUCKETS,
4141
namespace=NAMESPACE,
4242
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands =
3434

3535
[testenv:py39-lint]
3636
deps =
37-
ruff==0.8.2
37+
ruff==0.11.13
3838
commands =
3939
ruff format --check django_prometheus/
4040
ruff check django_prometheus/

0 commit comments

Comments
 (0)