Skip to content

Commit

Permalink
Update .pre-commit-config.yaml (#101)
Browse files Browse the repository at this point in the history
* Update .pre-commit-config.yaml

* Fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
monosans and github-actions[bot] authored Nov 4, 2023
1 parent 813d320 commit 57696e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
hooks:
- id: prettier
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.3
rev: v0.1.4
hooks:
- id: ruff
args:
Expand Down
2 changes: 1 addition & 1 deletion proxy_scraper_checker/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def set_event_loop_policy() -> None:
"linux",
}:
try:
import uvloop
import uvloop # noqa: PLC0415
except ImportError:
pass
else:
Expand Down
2 changes: 1 addition & 1 deletion proxy_scraper_checker/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _get_supported_max_connections() -> Optional[int]:
):
return 512
return None
import resource
import resource # noqa: PLC0415

soft_limit, hard_limit = resource.getrlimit(resource.RLIMIT_NOFILE)
logger.debug(
Expand Down

0 comments on commit 57696e6

Please sign in to comment.