aspect-build / rules_py

More compatible Bazel rules for running Python tools and building Python projects
Apache License 2.0
86 stars 29 forks source link

Revert "Add types to file generated by __test__.py" #435

Closed mattem closed 2 weeks ago

mattem commented 2 weeks ago

Reverts aspect-build/rules_py#428

Revert as it's causing a failure on CI for older versions of Python.

hofbi commented 1 week ago

@mattem In case you still want to have typing and support older Python versions (although they might be EOL already), you could use

from typing import List

# some code

user_args: List[str] = [$$FLAGS$$]