griffecli 2.0.0__tar.gz → 2.0.2__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.
@@ -20,7 +20,6 @@ uv.lock
20
20
  # cache
21
21
  .cache/
22
22
  .pytest_cache/
23
- .mypy_cache/
24
23
  .ruff_cache/
25
24
  __pycache__/
26
25
 
@@ -5,6 +5,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  <!-- insertion marker -->
8
+ ## [2.0.2](https://github.com/mkdocstrings/griffe/releases/tag/2.0.2) - 2026-03-27
9
+
10
+ <small>[Compare with 2.0.1](https://github.com/mkdocstrings/griffe/compare/2.0.1...2.0.2)</small>
11
+
12
+ ### Build
13
+
14
+ - Add py.typed marker to packages ([ce46ba3](https://github.com/mkdocstrings/griffe/commit/ce46ba314810e46c5168cfab220254908640d6e3) by Timothée Mazzucotelli).
15
+
16
+ ## [2.0.1](https://github.com/mkdocstrings/griffe/releases/tag/2.0.1) - 2026-03-23
17
+
18
+ <small>[Compare with 2.0.0](https://github.com/mkdocstrings/griffe/compare/2.0.0...2.0.1)</small>
19
+
20
+ ### Bug Fixes
21
+
22
+ - Allow setting type parameters through aliases ([75c1236](https://github.com/mkdocstrings/griffe/commit/75c1236078bdb38ccaf95330d3c635f8db3806b7) by Timothée Mazzucotelli). [Issue-449](https://github.com/mkdocstrings/griffe/issues/449)
23
+
8
24
  ## [2.0.0](https://github.com/mkdocstrings/griffe/releases/tag/2.0.0) - 2026-02-09
9
25
 
10
26
  <small>[Compare with 1.15.0](https://github.com/mkdocstrings/griffe/compare/1.15.0...2.0.0)</small>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: griffecli
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.
5
5
  Author-email: Timothée Mazzucotelli <dev@pawamoy.fr>
6
6
  License-Expression: ISC
@@ -22,4 +22,4 @@ Classifier: Topic :: Utilities
22
22
  Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.10
24
24
  Requires-Dist: colorama>=0.4
25
- Requires-Dist: griffelib==2.0.0
25
+ Requires-Dist: griffelib==2.0.2
@@ -121,7 +121,6 @@ See the [Loading chapter](https://mkdocstrings.github.io/griffe/guide/users/load
121
121
 
122
122
  <div id="silver-sponsors"><b>Silver sponsors</b><p>
123
123
  <a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
124
- <a href="https://docs.pydantic.dev/latest/"><img alt="Pydantic" src="https://pydantic.dev/assets/for-external/pydantic_logfire_logo_endorsed_lithium_rgb.svg" style="height: 180px; "></a><br>
125
124
  </p></div>
126
125
 
127
126
  <div id="bronze-sponsors"><b>Bronze sponsors</b><p>
@@ -20,12 +20,12 @@ import re
20
20
  import sys
21
21
  from datetime import datetime, timezone
22
22
  from pathlib import Path
23
- from typing import IO, TYPE_CHECKING, Any, Callable
23
+ from typing import IO, TYPE_CHECKING, Any
24
24
 
25
25
  import colorama
26
26
 
27
27
  if TYPE_CHECKING:
28
- from collections.abc import Sequence
28
+ from collections.abc import Callable, Sequence
29
29
 
30
30
  from griffe._internal.docstrings.parsers import DocstringOptions, DocstringStyle
31
31
  from griffe._internal.enumerations import ExplanationStyle, Parser
@@ -414,7 +414,7 @@ def dump(
414
414
  if per_package_output:
415
415
  for package_name, data in data_packages.items():
416
416
  serialized = data.as_json(indent=2, full=full, sort_keys=True)
417
- _print_data(serialized, output.format(package=package_name)) # type: ignore[union-attr]
417
+ _print_data(serialized, output.format(package=package_name)) # ty:ignore[unresolved-attribute]
418
418
  else:
419
419
  serialized = json.dumps(data_packages, cls=JSONEncoder, indent=2, full=full, sort_keys=True)
420
420
  _print_data(serialized, output)
File without changes
File without changes
File without changes