Skip to content

Commit

Permalink
Fix missing sorries.md
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 23, 2023
1 parent 5a2dddb commit 7ed4e36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ jobs:
- name: Remove .gitignore for gh-pages
run: rm docs/.gitignore

- name: Count sorries
run: |
python scripts/count_sorry.py
- name: Bundle dependencies
uses: ruby/setup-ruby@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ src/list_decls.lean
src/.noisy_files
/build
/lake-packages/*
docs/_includes/sorries.md
2 changes: 1 addition & 1 deletion scripts/count_sorry.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def pretty_file(file: str):
url = f"https://github.com/YaelDillies/LeanAPAP/blob/master/{file}"
return f"[{name}]({url})"

files = [file for tree in os.walk("src") for file in glob(os.path.join(tree[0], '*.lean'))]
files = [file for tree in os.walk("LeanAPAP") for file in glob(os.path.join(tree[0], '*.lean'))]
sorries = {}

for file in files:
Expand Down

0 comments on commit 7ed4e36

Please sign in to comment.