Skip to content

Commit

Permalink
Add pytest.ini options to pyproject.toml; ignore SDL2 warning; disabl…
Browse files Browse the repository at this point in the history
…e benchmarking
  • Loading branch information
Baekalfen committed Nov 23, 2024
1 parent 3b9f68a commit 9e3e4de
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ packages = ["pyboy", "pyboy.api", "pyboy.core", "pyboy.core.cartridge", "pyboy.l
"**/font.txt"
]

[tool.pytest.ini_options]
addopts = "--benchmark-disable"
testpaths = [
"tests",
"pyboy",
]
filterwarnings = [
"error",
"ignore:Using SDL2 binaries from pysdl2-dll.*"
]

[tool.isort]
line_length = 120

Expand Down

0 comments on commit 9e3e4de

Please sign in to comment.