mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* Add ruff config for pytest * Fixes for pre-commit * Changes to make pre-commit happy (Unrelated to PR) --------- Co-authored-by: Tristan Schulz <tristanschulz1200@gmail.com>
13 lines
235 B
Python
13 lines
235 B
Python
from __future__ import annotations
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture
|
|
def show_diff(request):
|
|
return request.config.getoption("show_diff")
|
|
|
|
|
|
@pytest.fixture(params=[True, False])
|
|
def use_vectorized(request):
|
|
return request.param
|