PyCQA / pydocstyle

docstring style checker
http://pydocstyle.org
MIT License
1.11k stars 188 forks source link

D417 not raised in a standard Google configuration with missing arguments descriptions #655

Open Alexander-Serov opened 11 months ago

Alexander-Serov commented 11 months ago

This is similar to #459, but my bug seems to be even simpler because it doesn't require the presence of extra sections.

I launch

pydocstyle script.py --convention=google --add-ignore=D100

on

# script.py

from typing import List, Tuple, Dict

def update_table_and_indicators2(
    data: dict,
    date_format: str,
    decision_cols: List[str],
    fsl: str,
    scope_toggle: bool,
    scope_own: float,
    scope_comp: float,
    scope_total_own: float,
    scope_total_comp: float,
    rev_unit_toggle: bool,
    keep_subsegments: bool,
    tidy_numbers: bool,
    v: List[str],
) -> Tuple[List[Dict], List[Dict], str]:
    """Updates the table and indicators displayed on the right part of the dashboard.

    Args:
        fsl: aaa

    Returns:
        columns: aaa
        tab: aaa
        dates_considered: aaa
    """
    pass

And the checks pass with no error messages, although most of the input parameters are clearly missing.

Does anyone know if this is the same as #459 or is it something else?

Further details