Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

pydocstyle 6.3.0 fails silently on a python script that has no .py extension #649

Open
@dstromberg

Description

@dstromberg

The Subject pretty much says it, but here's supporting detail:

$ pydocstyle lld
below cmd output started 2023 Wed Aug 09 08:43:44 AM PDT
above cmd output done 2023 Wed Aug 09 08:43:44 AM PDT
dstromberg@usbopl-vdi001:~/src/experiments/lock-leak-detect x86_64-pc-linux-gnu 3696430

$ echo $?
below cmd output started 2023 Wed Aug 09 08:43:47 AM PDT
0
above cmd output done 2023 Wed Aug 09 08:43:47 AM PDT
dstromberg@usbopl-vdi001:~/src/experiments/lock-leak-detect x86_64-pc-linux-gnu 3696430

$ mv lld lld.py
below cmd output started 2023 Wed Aug 09 08:43:49 AM PDT
above cmd output done 2023 Wed Aug 09 08:43:49 AM PDT
dstromberg@usbopl-vdi001:~/src/experiments/lock-leak-detect x86_64-pc-linux-gnu 3696430

$ pydocstyle lld.py
below cmd output started 2023 Wed Aug 09 08:43:53 AM PDT
lld.py:10 in public class Logentry:
D101: Missing docstring in public class
lld.py:11 in public method __init__:
D107: Missing docstring in init
lld.py:28 in public method __repr__:
D105: Missing docstring in magic method
lld.py:34 in public class Lockstate:
D101: Missing docstring in public class
lld.py:35 in public method __init__:
D107: Missing docstring in init
lld.py:39 in public method process_logentry:
D102: Missing docstring in public method
lld.py:59 in public method __repr__:
D105: Missing docstring in magic method

$ pydocstyle --version
below cmd output started 2023 Wed Aug 09 08:44:19 AM PDT
6.3.0
above cmd output done 2023 Wed Aug 09 08:44:19 AM PDT

Thanks for the useful tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions