Skip to content

Commit

Permalink
Exclude subprocess_exec
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Feb 21, 2025
1 parent 8502ea2 commit 2d136ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions blockbuster/blockbuster.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def os_rw_exclude(fd: int, *_: Any, **__: Any) -> bool:
None,
"os.read",
can_block_functions=[
("asyncio/base_events.py", {"subprocess_exec"}),
("asyncio/base_events.py", {"subprocess_shell"}),
],
scanned_modules=modules,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "blockbuster"
version = "1.5.22"
version = "1.5.23"
description = "Utility to detect blocking calls in the async event loop"
readme = "README.md"
keywords = ["async", "block", "detect", "event loop", "asyncio"]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d136ba

Please sign in to comment.