beancount-ast 0.0.1a1__tar.gz → 0.0.1a2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/PKG-INFO +1 -1
  2. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/py-src/beancount_ast/__init__.py +6 -0
  3. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/pyproject.toml +1 -1
  4. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.github/renovate.json +0 -0
  5. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.github/workflows/_build_wheels.yaml +0 -0
  6. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.github/workflows/autofix.yaml +0 -0
  7. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.github/workflows/ci.yml +0 -0
  8. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.github/workflows/release.yaml +0 -0
  9. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.github/workflows/tests.yml +0 -0
  10. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.gitignore +0 -0
  11. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/.pre-commit-config.yaml +0 -0
  12. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/AGENTS.md +0 -0
  13. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/Cargo.lock +0 -0
  14. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/Cargo.toml +0 -0
  15. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/README.md +0 -0
  16. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/dprint.json +0 -0
  17. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/py-src/beancount_ast/_ast.pyi +0 -0
  18. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/py-src/beancount_ast/py.typed +0 -0
  19. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/scripts/generate_ast_stubs.py +0 -0
  20. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/src/bin/stub_gen.rs +0 -0
  21. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/src/lib.rs +0 -0
  22. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/taskfile.yaml +0 -0
  23. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/tests/__init__.py +0 -0
  24. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/tests/__snapshots__/test_parse_snapshots.ambr +0 -0
  25. {beancount_ast-0.0.1a1 → beancount_ast-0.0.1a2}/tests/test_parse_snapshots.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beancount_ast
3
- Version: 0.0.1a1
3
+ Version: 0.0.1a2
4
4
  Summary: Parse Beancount content into AST
5
5
  Home-Page: https://github.com/trim21/beancount-ast
6
6
  Requires-Python: >=3.10
@@ -1,3 +1,5 @@
1
+ from typing import TYPE_CHECKING
2
+
1
3
  from ._ast import Amount
2
4
  from ._ast import Balance
3
5
  from ._ast import Close
@@ -36,7 +38,11 @@ from ._ast import Transaction
36
38
  from ._ast import parse_file
37
39
  from ._ast import parse_string
38
40
 
41
+ if TYPE_CHECKING:
42
+ from ._ast import Directive
43
+
39
44
  __all__ = [
45
+ "Directive",
40
46
  "Amount",
41
47
  "Balance",
42
48
  "Close",
@@ -7,7 +7,7 @@ name = "beancount_ast"
7
7
  description = "Parse Beancount content into AST"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.10"
10
- version = '0.0.1a1'
10
+ version = '0.0.1a2'
11
11
  dependencies = []
12
12
 
13
13
  [tool.pytest.ini_options]