plain-carpet-73994
10/17/2022, 10:29 PMpants.toml
now contains:
[source]
# Add typings as a source root so I can put type stubs in there.
root_patterns = ["src", "typings"]
other than that, it is unchanged. ./pants test
, check
, lint
, etc. work as expected but package
does not:
$ ./pants package ::
15:24:49.37 [ERROR] 1 Exception encountered:
NoSourceRootError: No source root found for `.`. See <https://www.pantsbuild.org/v2.13/docs/source-roots> for how to define source roots.
For reference:
$ ./pants roots
src
typings