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.
@@ -13,7 +13,7 @@ dependencies = [
13
13
 
14
14
  [[package]]
15
15
  name = "anot"
16
- version = "0.0.5"
16
+ version = "0.0.6"
17
17
  dependencies = [
18
18
  "anyhow",
19
19
  "clap",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "anot"
3
- version = "0.0.5"
3
+ version = "0.0.6"
4
4
  edition = "2021"
5
5
 
6
6
  [lib]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anot
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -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
- contest: SyntaxContext
38
- def __init__(self, *, kind: str, content: str, location: Location) -> None: ...
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