Skip to content

Commit

Permalink
Ignore ruff S113 because httpx has timeouts by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fajpunk committed Jul 10, 2024
1 parent b3b06e8 commit 2a9910f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ ignore = [
"TRY003", # good general advice but lint is way too aggressive
"TRY301", # sometimes raising exceptions inside try is the best flow
"UP040", # Python 3.12 supports `type` alias kw, but mypy doesn't yet
"S113", # httpx enforces timeouts everywhere, 5s by default

# The following settings should be disabled when using ruff format
# per https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
Expand Down

0 comments on commit 2a9910f

Please sign in to comment.