Closed 0xedward closed 3 years ago
Claiming this one!
Just to be sure, @0xedward , is this only about:
pyre infer -I
if --pysa arg is passedOr did I miss anything?
Ah I think pyre init
has some logic to set up taint_models_path
. If the user has a venv activated, I think by default it sets the path to {venv_path}/lib/
Sorry I'm realizing now that this issue might be better as a script instead of a built-in command in Pyre, since the goal of the issue was to automate the setup steps in the Quickstart guide and have some automatic error handling for common issues people run into. I'll update the issue to better describe this
Automate the steps in the Quickstart and add some logic to automatically handle and fix some common issues, so the automation is completed, the user has their environment set up to run Pysa (
pyre analyze
)Feel free to pick whatever automation method (e.g. script, ansible, etc.) you think is best :)
Submitting a PR
We use the following linters internally, so to save everyone's time, please make sure you run the following linters locally and fix errors related to the files you modified before submitting a PR:
To install the linters, you can run the following command: