Skip to content

Commit

Permalink
- handle resolving expr PyType when it's a TupleExpr, which doesn't a…
Browse files Browse the repository at this point in the history
…ppear in mypy type tables

- make use of constant keys
- remove lvalue from WType - only used to indicate void anyway, and we can give better message(s) in that case
- use type annotations to populate symtable
- ensure coverage of struct declaration errors
- registration of user types
- use ptypes in arc4 related code (wip)
- use pytypes in algopy.op mappings
- add OpUpFeeSource pytype
- expose classes from AWST data
- use different type for properties
- AWST intrinsic data immutability
- pytypes aliases (wip)
  • Loading branch information
achidlow committed Jun 25, 2024
1 parent 7ff2e17 commit c8bc70e
Show file tree
Hide file tree
Showing 37 changed files with 5,304 additions and 11,342 deletions.
8 changes: 3 additions & 5 deletions examples/box_storage/out/contract.awst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions examples/voting/out/voting.awst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ allow-star-arg-any = true
suppress-none-returning = true
mypy-init-return = true

[tool.ruff.lint.flake8-comprehensions]
allow-dict-calls-with-keyword-arguments = true

[tool.ruff.lint.isort]
combine-as-imports = true
force-wrap-aliases = true
Expand Down
Loading

0 comments on commit c8bc70e

Please sign in to comment.