Skip to content

Commit

Permalink
pysa: Add basic .pyre_configuration and taint.config for pysa.
Browse files Browse the repository at this point in the history
This commit adds the initial config files needed to be able to run
Pysa on Zulip code.
  • Loading branch information
gbleaney authored and timabbott committed Jun 11, 2020
1 parent 56345f9 commit 89131bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pyre_configuration
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"source_directories": ["."],
"taint_models_path": [
"stubs/taint",
"zulip-py3-venv/lib/pyre_check/taint/"
],
"search_path": [
"stubs/",
"zulip-py3-venv/lib/pyre_check/stubs/"
],
"exclude": [
"/srv/zulip/zulip-py3-venv/.*"
]
}
6 changes: 6 additions & 0 deletions stubs/taint/taint.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
sources: [],
sinks: [],
features: [],
rules: []
}

0 comments on commit 89131bf

Please sign in to comment.