I just added a source root configuration so I coul...
# general
p
I just added a source root configuration so I could add some type stubs. My
pants.toml
now contains:
Copy code
[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:
Copy code
$ ./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:
Copy code
$ ./pants roots
src
typings