docstring-generator-ext 2.0.8__tar.gz → 2.0.10.post1__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 (27) hide show
  1. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/PKG-INFO +5 -2
  2. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/docstring_generator_ext.egg-info/PKG-INFO +5 -2
  3. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/pyproject.toml +7 -3
  4. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/docstringFormat.cpp +3 -1
  5. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/MANIFEST.in +0 -0
  6. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/README.md +0 -0
  7. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/docstring_generator_ext.egg-info/SOURCES.txt +0 -0
  8. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/docstring_generator_ext.egg-info/dependency_links.txt +0 -0
  9. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/docstring_generator_ext.egg-info/requires.txt +0 -0
  10. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/docstring_generator_ext.egg-info/top_level.txt +0 -0
  11. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/setup.cfg +0 -0
  12. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/setup.py +0 -0
  13. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/FunctionFormat.cpp +0 -0
  14. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/FunctionFormat.hpp +0 -0
  15. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/GoogleDocstring.cpp +0 -0
  16. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/GoogleDocstring.hpp +0 -0
  17. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/IDocstringFormat.cpp +0 -0
  18. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/IDocstringFormat.hpp +0 -0
  19. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/NumpyDocstring.cpp +0 -0
  20. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/NumpyDocstring.hpp +0 -0
  21. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/ReStructuredDocstring.cpp +0 -0
  22. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/ReStructuredDocstring.hpp +0 -0
  23. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/docComparator.cpp +0 -0
  24. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/docComparator.hpp +0 -0
  25. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/docstringFormat.hpp +0 -0
  26. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/parser.cpp +0 -0
  27. {docstring_generator_ext-2.0.8 → docstring_generator_ext-2.0.10.post1}/src/parser.hpp +0 -0
@@ -1,14 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docstring_generator_ext
3
- Version: 2.0.8
3
+ Version: 2.0.10.post1
4
4
  Summary: Generate Docstrings with type-hint information.
5
5
  Author-email: FelixTheC <fberndt87@gmail.com>
6
6
  Classifier: Environment :: Console
7
7
  Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.12
9
+ Classifier: Programming Language :: Python :: 3.13
10
+ Classifier: Programming Language :: Python :: 3.14
8
11
  Classifier: Topic :: Utilities
9
12
  Classifier: Topic :: Software Development :: Documentation
10
13
  Classifier: Typing :: Typed
11
- Requires-Python: >=3.13
14
+ Requires-Python: <3.15,>=3.12
12
15
  Description-Content-Type: text/markdown
13
16
  Requires-Dist: pybind11>=3.0.4
14
17
 
@@ -1,14 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docstring_generator_ext
3
- Version: 2.0.8
3
+ Version: 2.0.10.post1
4
4
  Summary: Generate Docstrings with type-hint information.
5
5
  Author-email: FelixTheC <fberndt87@gmail.com>
6
6
  Classifier: Environment :: Console
7
7
  Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.12
9
+ Classifier: Programming Language :: Python :: 3.13
10
+ Classifier: Programming Language :: Python :: 3.14
8
11
  Classifier: Topic :: Utilities
9
12
  Classifier: Topic :: Software Development :: Documentation
10
13
  Classifier: Typing :: Typed
11
- Requires-Python: >=3.13
14
+ Requires-Python: <3.15,>=3.12
12
15
  Description-Content-Type: text/markdown
13
16
  Requires-Dist: pybind11>=3.0.4
14
17
 
@@ -1,17 +1,20 @@
1
1
  [project]
2
2
  name = "docstring_generator_ext"
3
- version = "2.0.8"
3
+ version = "2.0.10.post1"
4
4
  description = "Generate Docstrings with type-hint information."
5
5
  authors = [
6
6
  { name = "FelixTheC", email = "fberndt87@gmail.com" },
7
7
  ]
8
8
  readme = "README.md"
9
- requires-python = ">=3.13"
9
+ requires-python = ">=3.12,<3.15"
10
10
 
11
11
  classifiers=[
12
12
 
13
13
  "Environment :: Console",
14
14
  "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: 3.12",
16
+ "Programming Language :: Python :: 3.13",
17
+ "Programming Language :: Python :: 3.14",
15
18
  "Topic :: Utilities",
16
19
  "Topic :: Software Development :: Documentation",
17
20
  "Typing :: Typed",
@@ -31,7 +34,8 @@ packages = []
31
34
  include-package-data = false
32
35
 
33
36
  [tool.cibuildwheel]
34
- build = "cp313-* cp314-*"
37
+ build = "cp312-* cp313-* cp314-*"
38
+ enable = ["cpython-prerelease"]
35
39
  skip = "pp* *musllinux*"
36
40
  test-skip = "*"
37
41
 
@@ -115,10 +115,12 @@ std::map<std::string, int> check_docstrings(std::string &file_path, const bool &
115
115
 
116
116
  const auto res = analyze_function(obj, ast_module, ignore_magic);
117
117
  if (!res.has_value()) {
118
+ if (ignore_magic)
119
+ --function_checked;
118
120
  continue;
119
121
  }
120
122
 
121
- const FunctionInfo function_info = *res;
123
+ const FunctionInfo& function_info = *res;
122
124
 
123
125
  switch (compare_docstrings(function_info.docstring, function_info)) {
124
126
  case IS_EMPTY: