diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c05aa1..a21be64 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/proxy_scraper_checker/validators.py b/proxy_scraper_checker/validators.py index bb8de7a..327b080 100644 --- a/proxy_scraper_checker/validators.py +++ b/proxy_scraper_checker/validators.py @@ -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, )