docsig 0.41.0__tar.gz → 0.42.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: docsig
3
- Version: 0.41.0
3
+ Version: 0.42.0
4
4
  Summary: Check signature params for proper documentation
5
5
  Home-page: https://pypi.org/project/docsig/
6
6
  License: MIT
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.11
19
19
  Requires-Dist: Pygments (>=2.13.0,<3.0.0)
20
20
  Requires-Dist: Sphinx (>=4.3.2,<7.0.0)
21
21
  Requires-Dist: arcon (>=0.3.1,<0.4.0)
22
- Requires-Dist: astroid (>=2.11.6,<4.0.0)
22
+ Requires-Dist: astroid (>=3.0.1,<4.0.0)
23
23
  Requires-Dist: object-colors (>=2.1.0,<3.0.0)
24
24
  Requires-Dist: typing-extensions (>=4.8.0,<5.0.0)
25
25
  Project-URL: Documentation, https://docsig.readthedocs.io/en/latest
@@ -539,7 +539,7 @@ It can be added to your .pre-commit-config.yaml as follows:
539
539
 
540
540
  repos:
541
541
  - repo: https://github.com/jshwi/docsig
542
- rev: v0.41.0
542
+ rev: v0.42.0
543
543
  hooks:
544
544
  - id: docsig
545
545
  args:
@@ -511,7 +511,7 @@ It can be added to your .pre-commit-config.yaml as follows:
511
511
 
512
512
  repos:
513
513
  - repo: https://github.com/jshwi/docsig
514
- rev: v0.41.0
514
+ rev: v0.42.0
515
515
  hooks:
516
516
  - id: docsig
517
517
  args:
@@ -65,7 +65,7 @@ def _run_check( # pylint: disable=too-many-arguments
65
65
  return failures
66
66
 
67
67
 
68
- def docsig( # pylint: disable=too-many-locals
68
+ def docsig( # pylint: disable=too-many-locals,too-many-arguments
69
69
  *path: _Path,
70
70
  string: str | None = None,
71
71
  check_class: bool = False,
@@ -130,7 +130,7 @@ class Modules(_t.List[_Module]):
130
130
  be on the class level docstring.
131
131
  """
132
132
 
133
- def __init__(
133
+ def __init__( # pylint: disable=too-many-arguments
134
134
  self,
135
135
  *paths: _Path,
136
136
  disable: list[_Message],
@@ -227,7 +227,8 @@ class Report(_MessageSequence):
227
227
  :param prefix: Prefix report.
228
228
  :return: Current report.
229
229
  """
230
- return f"\n{prefix}".join(self) + "\n"
230
+ report = f"\n{prefix}".join(self)
231
+ return f"{report}\n"
231
232
 
232
233
 
233
234
  def generate_report(
@@ -7,4 +7,4 @@ Contains the version of this package.
7
7
  Allows for access to the version internally without cyclic imports
8
8
  caused by accessing it through __init__.
9
9
  """
10
- __version__ = "0.41.0"
10
+ __version__ = "0.42.0"
@@ -70,13 +70,13 @@ maintainers = [
70
70
  name = "docsig"
71
71
  readme = "README.rst"
72
72
  repository = "https://github.com/jshwi/docsig"
73
- version = "0.41.0"
73
+ version = "0.42.0"
74
74
 
75
75
  [tool.poetry.dependencies]
76
76
  Pygments = "^2.13.0"
77
77
  Sphinx = ">=4.3.2,<7.0.0"
78
78
  arcon = "^0.3.1"
79
- astroid = ">=2.11.6,<4.0.0"
79
+ astroid = "^3.0.1"
80
80
  object-colors = "^2.1.0"
81
81
  python = "^3.8"
82
82
  typing-extensions = "^4.8.0"
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