rules_py
rules_py copied to clipboard
chore(py_pytest_main): Refactor to allow for linting
The pytest driver template isn't valid Python, which makes it unlintable, which is part of why it has unmitigated typing issues which become visible when users adopt rules_mypy and equivalents.
Rework the driver template so that in its pre-expansion form it's valid Python and impose linting on it.
Changes are visible to end-users: no
Test plan
TBD