anot 0.0.5__tar.gz → 0.0.6__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {anot-0.0.5 → anot-0.0.6}/Cargo.lock +1 -1
- {anot-0.0.5 → anot-0.0.6}/Cargo.toml +1 -1
- {anot-0.0.5 → anot-0.0.6}/PKG-INFO +1 -1
- {anot-0.0.5 → anot-0.0.6}/python/anot/_anot.pyi +6 -4
- {anot-0.0.5 → anot-0.0.6}/.github/workflows/branch-push.yml +0 -0
- {anot-0.0.5 → anot-0.0.6}/.github/workflows/cd.yml +0 -0
- {anot-0.0.5 → anot-0.0.6}/.gitignore +0 -0
- {anot-0.0.5 → anot-0.0.6}/Justfile +0 -0
- {anot-0.0.5 → anot-0.0.6}/LICENSE +0 -0
- {anot-0.0.5 → anot-0.0.6}/README.md +0 -0
- {anot-0.0.5 → anot-0.0.6}/pyproject.toml +0 -0
- {anot-0.0.5 → anot-0.0.6}/python/anot/__init__.py +0 -0
- {anot-0.0.5 → anot-0.0.6}/python/anot/py.typed +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/annotation.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/cli.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/error.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/input.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/lib.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/parser.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/python.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/src/render.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/tests/data/test.js +0 -0
- {anot-0.0.5 → anot-0.0.6}/tests/data/test.py +0 -0
- {anot-0.0.5 → anot-0.0.6}/tests/data/test.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/tests/test_parser.rs +0 -0
- {anot-0.0.5 → anot-0.0.6}/uv.lock +0 -0
@@ -20,8 +20,8 @@ class SyntaxContext:
|
|
20
20
|
*,
|
21
21
|
node_type: str,
|
22
22
|
parent_type: str,
|
23
|
-
associated_name: Optional[str],
|
24
|
-
variable_name: Optional[str],
|
23
|
+
associated_name: Optional[str] = None,
|
24
|
+
variable_name: Optional[str] = None,
|
25
25
|
) -> None: ...
|
26
26
|
|
27
27
|
class Location:
|
@@ -34,8 +34,10 @@ class Annotation:
|
|
34
34
|
kind: str
|
35
35
|
content: str
|
36
36
|
location: Location
|
37
|
-
|
38
|
-
def __init__(
|
37
|
+
context: SyntaxContext
|
38
|
+
def __init__(
|
39
|
+
self, *, kind: str, content: str, location: Location, context: SyntaxContext
|
40
|
+
) -> None: ...
|
39
41
|
|
40
42
|
def extract_annotations(content: str, file_type: str) -> List[Annotation]: ...
|
41
43
|
def format_annotations(annotations: List[Annotation], format: str) -> str: ...
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|