https://pantsbuild.org/ logo
r

rhythmic-morning-87313

04/30/2022, 4:10 AM
Q15: When I run check/test, sometimes it asks me to run
generate-lockfiles
manually. (I configured separate lockfile pahts for pytest and mypy as instructed.) Could I make pants to do it automatically? In what conditions does it ask to do so?
1
b

bitter-ability-32190

04/30/2022, 9:45 PM
No way to do it automatically.
It puts a metadata header on your lockfile, if the metadata doesn't meet the expectation it'll ask. Generally, that means the dependency or additional plugins don't match pants.toml