diff --git a/pyproject.toml b/pyproject.toml index 6bcbdafbe..d058085b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,11 +129,7 @@ line-length = 160 lint.flake8-implicit-str-concat.allow-multiline = false [tool.ruff.lint.flake8-tidy-imports.banned-api] -"pytest".msg = "Use unittest" -"pytest.main".msg = "pytest.main requires special handling that is easy to mess up!" -"time.time".msg = "Use time.monotonic" # time.time can skip due to its reference clock, you probably want a monotonic clock - -# raylib banned APIs +"time.time".msg = "Use time.monotonic. time.time can skip due to its reference clock, you probably want a monotonic clock" "pyray.measure_text_ex".msg = "Use openpilot.system.ui.lib.text_measure" "pyray.is_mouse_button_pressed".msg = "This can miss events. Use Widget._handle_mouse_press" "pyray.is_mouse_button_released".msg = "This can miss events. Use Widget._handle_mouse_release"