-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mike dupont
committed
Oct 19, 2023
1 parent
638883a
commit 8e844a0
Showing
7 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"site_package_search_strategy": "pep561", | ||
"source_directories": [ | ||
"." | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
prep | ||
`pip install pyre-check` | ||
|
||
run this to collect data | ||
`vendor/runpyre.sh` | ||
|
||
list of files | ||
`jq -r keys[] pyre_statistics.txt ` |
Submodule pyre-check
added at
8c54d9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
#set -e | ||
|
||
for D in * | ||
do | ||
if [ -d "${D}" ]; then | ||
echo "${D}" # your processing here | ||
pushd $D | ||
if [ ! -f .pyre_configuration ]; then | ||
cp ../../pyre/.pyre_configuration . | ||
fi | ||
if [ ! -f .watchmanconfig ]; then | ||
cp ../../pyre/.watchmanconfig . | ||
fi | ||
if [ ! -f pyre_init.txt ] ; then | ||
pyre init |tee pyre_init.txt | ||
fi | ||
if [ ! -f pyre_coverage.txt ] ; then | ||
pyre coverage |tee pyre_coverage.txt | ||
fi | ||
if [ ! -f pyre_statistics.txt ] ; then | ||
pyre statistics | tee pyre_statistics.txt | ||
fi | ||
if [ ! -f pyre_dump.json ] ; then | ||
#pyre dump --output pyre_dump.json | ||
#pyre-check query "types_in_file('tests.py')" | ||
echo pass | ||
fi | ||
popd | ||
fi | ||
done |