fresh-cat-90827
07/21/2021, 2:08 PMcommons.py
under the tests
directory along with test_*.py
files containing tests.fresh-cat-90827
07/21/2021, 2:08 PMsources
for the python_tests
target because there are no tests in this file - Pants will say it failed to run the tests in this file (because there are none), at least that’s what it does for me.
It may make sense to make it a files
or resources
target (https://www.pantsbuild.org/v2.6/docs/reference-files), but slightly weird perhaps as both are used for data files such as binary test data or any other assets. Shall I consider it being a part of the library (to put under python_library
)? It is not, really.
I could overload the meaning of resources
of Pants, however, and make it a resources
instead despite it being a Python module intended to be imported.hundreds-father-404
07/21/2021, 2:39 PM