Skip to content

Commit f8014cb

Browse files
chore: pre-commit autoupdate (#561)
* chore: pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](astral-sh/ruff-pre-commit@v0.9.9...v0.11.4) - [github.com/jsh9/pydoclint: 0.6.2 → 0.6.5](jsh9/pydoclint@0.6.2...0.6.5) - [github.com/pycqa/pylint.git: v3.3.4 → v3.3.6](https://github.com/pycqa/pylint.git/compare/v3.3.4...v3.3.6) * chore: auto fixes from pre-commit.com hooks * Restore pydoclint baseline --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kate Case <[email protected]>
1 parent 4880311 commit f8014cb

File tree

2 files changed

+5
-73
lines changed

2 files changed

+5
-73
lines changed

.config/pydoclint-baseline.txt

Lines changed: 2 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,4 @@
1-
tests/integration/test_cli.py
2-
DOC501: Function `test_version` has raise/assert statements, but the docstring does not have a "Raises" section
3-
DOC503: Function `test_version` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
4-
DOC501: Function `test_server_fail_no_deps` has raise/assert statements, but the docstring does not have a "Raises" section
5-
DOC503: Function `test_server_fail_no_deps` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
6-
--------------------
7-
tests/integration/test_container.py
8-
DOC501: Function `test_versions` has raise/assert statements, but the docstring does not have a "Raises" section
9-
DOC503: Function `test_versions` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
10-
DOC501: Function `test_podman` has raise/assert statements, but the docstring does not have a "Raises" section
11-
DOC503: Function `test_podman` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
12-
DOC501: Function `test_cinc` has raise/assert statements, but the docstring does not have a "Raises" section
13-
DOC503: Function `test_cinc` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
14-
DOC501: Function `test_app` has raise/assert statements, but the docstring does not have a "Raises" section
15-
DOC503: Function `test_app` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
16-
DOC501: Function `test_user_shell` has raise/assert statements, but the docstring does not have a "Raises" section
17-
DOC503: Function `test_user_shell` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
18-
DOC501: Function `test_navigator_2_c_in_c` has raise/assert statements, but the docstring does not have a "Raises" section
19-
DOC503: Function `test_navigator_2_c_in_c` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
20-
DOC501: Function `test_navigator_1` has raise/assert statements, but the docstring does not have a "Raises" section
21-
DOC503: Function `test_navigator_1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
22-
DOC501: Function `test_nav_collections` has raise/assert statements, but the docstring does not have a "Raises" section
23-
DOC503: Function `test_nav_collections` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
24-
DOC501: Function `test_nav_images` has raise/assert statements, but the docstring does not have a "Raises" section
25-
DOC503: Function `test_nav_images` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
26-
DOC501: Function `test_nav_playbook` has raise/assert statements, but the docstring does not have a "Raises" section
27-
DOC503: Function `test_nav_playbook` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
28-
DOC501: Function `test_nav_collection` has raise/assert statements, but the docstring does not have a "Raises" section
29-
DOC503: Function `test_nav_collection` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
30-
DOC501: Function `test_builder` has raise/assert statements, but the docstring does not have a "Raises" section
31-
DOC503: Function `test_builder` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
32-
--------------------
33-
tests/integration/test_server_creator_v1.py
34-
DOC501: Function `test_error_v1` has raise/assert statements, but the docstring does not have a "Raises" section
35-
DOC503: Function `test_error_v1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
36-
DOC501: Function `test_playbook_v1` has raise/assert statements, but the docstring does not have a "Raises" section
37-
DOC503: Function `test_playbook_v1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
38-
DOC501: Function `test_collection_v1` has raise/assert statements, but the docstring does not have a "Raises" section
39-
DOC503: Function `test_collection_v1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
40-
--------------------
411
tests/integration/test_server_creator_v2.py
42-
DOC501: Function `test_error_v2` has raise/assert statements, but the docstring does not have a "Raises" section
43-
DOC503: Function `test_error_v2` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
44-
DOC501: Function `test_playbook_v2` has raise/assert statements, but the docstring does not have a "Raises" section
45-
DOC503: Function `test_playbook_v2` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
46-
DOC501: Function `test_collection_v2` has raise/assert statements, but the docstring does not have a "Raises" section
47-
DOC503: Function `test_collection_v2` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
48-
--------------------
49-
tests/integration/test_server_info.py
50-
DOC501: Function `test_metadata` has raise/assert statements, but the docstring does not have a "Raises" section
51-
DOC503: Function `test_metadata` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
52-
--------------------
53-
tests/unit/test_basic.py
54-
DOC501: Function `test_main` has raise/assert statements, but the docstring does not have a "Raises" section
55-
DOC503: Function `test_main` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
56-
DOC501: Function `test_cli_main` has raise/assert statements, but the docstring does not have a "Raises" section
57-
DOC503: Function `test_cli_main` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
58-
--------------------
59-
tests/unit/test_server.py
60-
DOC501: Function `test_server_debug_options` has raise/assert statements, but the docstring does not have a "Raises" section
61-
DOC503: Function `test_server_debug_options` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
62-
--------------------
63-
tests/unit/test_server_utils.py
64-
DOC501: Function `test_validate_request_pass` has raise/assert statements, but the docstring does not have a "Raises" section
65-
DOC503: Function `test_validate_request_pass` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
66-
DOC501: Function `test_validate_request_fail` has raise/assert statements, but the docstring does not have a "Raises" section
67-
DOC503: Function `test_validate_request_fail` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
68-
DOC501: Function `test_validate_response_pass` has raise/assert statements, but the docstring does not have a "Raises" section
69-
DOC503: Function `test_validate_response_pass` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
70-
DOC501: Function `test_validate_response_fail` has raise/assert statements, but the docstring does not have a "Raises" section
71-
DOC503: Function `test_validate_response_fail` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
2+
DOC502: Function `test_error_devfile_v2` has a "Raises" section in the docstring, but there are not "raise" statements in the body
3+
DOC502: Function `test_devfile_v2` has a "Raises" section in the docstring, but there are not "raise" statements in the body
724
--------------------

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ repos:
6868
- id: tox-ini-fmt
6969

7070
- repo: https://github.com/astral-sh/ruff-pre-commit
71-
rev: v0.9.9
71+
rev: v0.11.4
7272
hooks:
7373
- id: ruff
7474
args:
@@ -85,15 +85,15 @@ repos:
8585
name: Spell check with cspell
8686

8787
- repo: https://github.com/jsh9/pydoclint
88-
rev: "0.6.2"
88+
rev: "0.6.5"
8989
hooks:
9090
- id: pydoclint
9191
# This allows automatic reduction of the baseline file when needed.
9292
entry: sh -ec "pydoclint -q . && pydoclint --generate-baseline=1 ."
9393
pass_filenames: false
9494

9595
- repo: https://github.com/pycqa/pylint.git
96-
rev: v3.3.4
96+
rev: v3.3.6
9797
hooks:
9898
- id: pylint
9999
args:

0 commit comments

Comments
 (0)