Skip to content

Commit

Permalink
Ignore JAX os.fork() warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegrabowski committed Feb 12, 2024
1 parent 16ce329 commit 9f19dda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ filterwarnings =[

# bool8, find_common_type, cumproduct, and product had deprecation warnings added in numpy 1.25
'ignore:.*(\b(pkg_resources\.declare_namespace|np\.bool8|np\.find_common_type|cumproduct|product)\b).*:DeprecationWarning',

# JAX issues an over-eager warning if os.fork() is called when the JAX module is loaded, even if JAX isn't being used
'ignore:os\.fork\(\) was called\.:RuntimeWarning',
]

[tool.black]
Expand Down

0 comments on commit 9f19dda

Please sign in to comment.