---
source: crates/ruff/src/rules/pydocstyle/mod.rs
---
sections.py:292:9: D417 Missing argument description in the docstring: `y`
    |
292 |     x = 1
293 | 
294 |     def bar(y=2):  # noqa: D207, D213, D406, D407
    |         ^^^ D417
295 |         """Nested function test for docstrings.
    |

sections.py:309:5: D417 Missing argument description in the docstring: `y`
    |
309 |         "(argument(s) y are missing descriptions in "
310 |         "'test_missing_google_args' docstring)")
311 | def test_missing_google_args(x=1, y=2, _private=3):  # noqa: D406, D407
    |     ^^^^^^^^^^^^^^^^^^^^^^^^ D417
312 |     """Toggle the gizmo.
    |

sections.py:333:9: D417 Missing argument descriptions in the docstring: `test`, `y`, `z`
    |
333 |             "(argument(s) test, y, z are missing descriptions in "
334 |             "'test_missing_args' docstring)", arg_count=5)
335 |     def test_missing_args(self, test, x, y, z=3, _private_arg=3):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^ D417
336 |         """Test a valid args section.
    |

sections.py:345:9: D417 Missing argument descriptions in the docstring: `test`, `y`, `z`
    |
345 |             "(argument(s) test, y, z are missing descriptions in "
346 |             "'test_missing_args_class_method' docstring)", arg_count=5)
347 |     def test_missing_args_class_method(cls, test, x, y, _, z=3):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D417
348 |         """Test a valid args section.
    |

sections.py:358:9: D417 Missing argument descriptions in the docstring: `a`, `y`, `z`
    |
358 |             "(argument(s) a, y, z are missing descriptions in "
359 |             "'test_missing_args_static_method' docstring)", arg_count=4)
360 |     def test_missing_args_static_method(a, x, y, _test, z=3):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D417
361 |         """Test a valid args section.
    |

sections.py:370:9: D417 Missing argument descriptions in the docstring: `a`, `b`
    |
370 |             "(argument(s) a, b are missing descriptions in "
371 |             "'test_missing_docstring' docstring)", arg_count=2)
372 |     def test_missing_docstring(a, b):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^^^^^^ D417
373 |         """Test a valid args section.
    |

sections.py:398:5: D417 Missing argument description in the docstring: `y`
    |
398 |         "(argument(s) y are missing descriptions in "
399 |         "'test_missing_numpy_args' docstring)")
400 | def test_missing_numpy_args(_private_arg=0, x=1, y=2):  # noqa: D406, D407
    |     ^^^^^^^^^^^^^^^^^^^^^^^ D417
401 |     """Toggle the gizmo.
    |

sections.py:434:9: D417 Missing argument descriptions in the docstring: `test`, `y`, `z`
    |
434 |             "(argument(s) test, y, z are missing descriptions in "
435 |             "'test_missing_args' docstring)", arg_count=5)
436 |     def test_missing_args(self, test, x, y, z=3, t=1, _private=0):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^ D417
437 |         """Test a valid args section.
    |

sections.py:449:9: D417 Missing argument descriptions in the docstring: `test`, `y`, `z`
    |
449 |             "(argument(s) test, y, z are missing descriptions in "
450 |             "'test_missing_args_class_method' docstring)", arg_count=4)
451 |     def test_missing_args_class_method(cls, test, x, y, z=3):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D417
452 |         """Test a valid args section.
    |

sections.py:468:9: D417 Missing argument descriptions in the docstring: `a`, `z`
    |
468 |             "(argument(s) a, z are missing descriptions in "
469 |             "'test_missing_args_static_method' docstring)", arg_count=3)
470 |     def test_missing_args_static_method(a, x, y, z=3, t=1):  # noqa: D213, D407
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D417
471 |         """Test a valid args section.
    |

sections.py:498:9: D417 Missing argument description in the docstring: `y`
    |
498 |             "(argument(s) y are missing descriptions in "
499 |             "'test_incorrect_indent' docstring)", arg_count=3)
500 |     def test_incorrect_indent(self, x=1, y=2):  # noqa: D207, D213, D407
    |         ^^^^^^^^^^^^^^^^^^^^^ D417
501 |         """Reproducing issue #437.
    |


