Skip to content

Commit

Permalink
Bump docstring-parser from 0.7.3 to 0.8.1 (PR #2984)
Browse files Browse the repository at this point in the history
Bumps [docstring-parser](https://github.com/rr-/docstring_parser) from 0.7.3 to 0.8.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rr-/docstring_parser/commit/76637ab2591a56383076520c0e4041b088c7735b"><code>76637ab</code></a> build: 0.8.1</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/7ca3883daa08a6603a261e3b1ae0b1417350bede"><code>7ca3883</code></a> google: raise an error for broken arguments (<a href="https://github.com/rr-/docstring_parser/issues/35">#35</a>)</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/6ab9239ca8e2e18c11ab961ccde0b75cc4a28882"><code>6ab9239</code></a> build: 0.8</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/7a4334ab24ffd3220e59294780a633d5785d222a"><code>7a4334a</code></a> misc: rename Style to DocstringStyle</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/ff9d9376e7b05c429b33535f060818483117c5aa"><code>ff9d937</code></a> misc: add Style to Docstring (closes <a href="https://github.com/rr-/docstring_parser/issues/39">#39</a>)</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/1e01d2f5e7f0e1c3ebbcae20d69d83b91b53cfef"><code>1e01d2f</code></a> misc: move Style to common and STYLES to parser</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/0b92d19dd5c8036b72e1f04ebf8da9bf3965766e"><code>0b92d19</code></a> misc: add short description (closes <a href="https://github.com/rr-/docstring_parser/issues/34">#34</a>)</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/572537d6414bb6c5624baf98e4aea35173b5b3c5"><code>572537d</code></a> build: add GitHub actions</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/b86176e7f096b08825cea428ec0558fd0950ef2c"><code>b86176e</code></a> build: add py.typed</li>
<li><a href="https://github.com/rr-/docstring_parser/commit/e44a47c06625e340a59465c0b6bac0443ebeee0c"><code>e44a47c</code></a> google: ignore unknown meta</li>
<li>See full diff in <a href="https://github.com/rr-/docstring_parser/compare/0.7.3...0.8.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docstring-parser&package-manager=pip&previous-version=0.7.3&new-version=0.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
  • Loading branch information
inmantaci committed May 28, 2021
1 parent 92d4028 commit 677ffc1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelogs/unreleased/2984-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
change-type: patch
description: Bump docstring-parser from 0.7.3 to 0.8.1
destination-branches:
- master
sections: {}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ click==8.0.1
colorlog==5.0.1
cookiecutter==1.7.3
cryptography==3.4.7
docstring-parser==0.7.3
docstring-parser==0.8.1
email-validator==1.1.2
execnet==1.8.0
importlib_metadata==4.3.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"colorlog",
"cookiecutter",
"cryptography",
"docstring-parser<0.8.0",
"docstring-parser",
"email-validator",
"execnet",
"importlib_metadata",
Expand Down
2 changes: 1 addition & 1 deletion src/inmanta/docstring_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ def parse_docstring(doc_string: str) -> DocString:
"""
Parse the docstring of an entity.
"""
doc_string = docstring_parser.parse(doc_string, style=docstring_parser.Style.rest)
doc_string = docstring_parser.parse(doc_string, style=docstring_parser.DocstringStyle.rest)
return DocString(doc_string)
2 changes: 1 addition & 1 deletion src/inmanta/protocol/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def __init__(
self._strict_typing = strict_typing
self.function = function

self._parsed_docstring = docstring_parser.parse(text=function.__doc__, style=docstring_parser.styles.Style.rest)
self._parsed_docstring = docstring_parser.parse(text=function.__doc__, style=docstring_parser.DocstringStyle.rest)
self._docstring_parameter_map = {p.arg_name: p.description for p in self._parsed_docstring.params}

# validate client types
Expand Down

0 comments on commit 677ffc1

Please sign in to comment.