Update .pre-commit-config.yaml (#69)

* Update .pre-commit-config.yaml

* Reformat

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
monosans
2023-07-11 07:54:08 +00:00
committed by GitHub
co-authored by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent 6bef6117fc
commit 1ba3bff5bc
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ repos:
hooks:
- id: prettier
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
+3 -5
View File
@@ -34,11 +34,9 @@ def max_connections(value: int) -> Optional[int]:
if not max_supported or value <= max_supported:
return value
logger.warning(
(
"MaxConnections value is too high. "
"Your OS supports a maximum of %d. "
"The config value will be ignored and %d will be used."
),
"MaxConnections value is too high. "
"Your OS supports a maximum of %d. "
"The config value will be ignored and %d will be used.",
max_supported,
max_supported,
)