Skip to content

Commit

Permalink
Merge pull request #3 from Philipp15b/brand-new
Browse files Browse the repository at this point in the history
Merge ast and parser from forward
  • Loading branch information
Philipp15b authored Jun 10, 2022
2 parents 6795c4f + a2adf9f commit ce51260
Show file tree
Hide file tree
Showing 39 changed files with 2,346 additions and 1,294 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
python-version: 3.9
- name: Set up Poetry cache for Python dependencies
uses: actions/cache@v2
if: startsWith(runner.os, 'Linux')
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ coverage.xml
*.cover
.hypothesis/
.pytest_cache/
testreport.xml

# Translations
*.mo
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.DEFAULT: help
help:
@echo "Available targets: install, lint, mypy, test, docs, clean"
@echo "Available targets: install, lint, mypy, test, docs, clean, format"

install:
poetry install
Expand All @@ -21,3 +21,7 @@ docs:

clean:
rm -rf docs/build

format:
poetry run yapf -r -i probably/ tests/
poetry run isort probably/ tests/
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@

# nitpicky emits warnings for all broken links
# nitpicky = True

autodoc_type_aliases = {"Expr" : "probably.pgcl.ast.Expr", "Instr" : "probably.pgcl.ast.Instr", "Type" : "probably.pgcl.ast.Type",
"Decl" : "probably.pgcl.ast.Decl", "DistrExpr" : "probably.pgcl.ast.DistrExpr", "Query" : "probably.pgcl.ast.Query"}
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ ignore_missing_imports = True

[mypy-networkx.*]
ignore_missing_imports = True

[mypy-click.*]
ignore_missing_imports = True
Loading

0 comments on commit ce51260

Please sign in to comment.