darglint2 icon indicating copy to clipboard operation
darglint2 copied to clipboard

A python documentation linter which checks that the docstring description matches the definition. Based on darglint by @terrencepreilly.

Results 13 darglint2 issues
Sort by recently updated
recently updated
newest added

See the [parser-generator](/terrencepreilly/darglint/compare/master...parser-generator) branch in the archived `darglint` repository. In [this comment](/akaihola/darglint2/pull/1#discussion_r1102252701), @terrencepreilly wrote (about the significance of the order of patterns): >If you change it to use a different...

enhancement

File: test_darglint.py ``` def f(x): return x*2 ``` darglint2 test_darglint.py returns nothing while if I change the function ``` def f(x): """ """ return x*2 ``` darglint2 test_darglint.py returns .\test_darglint.py:f:1:...

There are no such issus with Python 3.7 - 3.13 but 3.14.0a0 fails: https://github.com/wikimedia/pywikibot/actions/runs/9730971025/job/26854787807 ``` Run python --version python --version flake8 --version flake8 --color always --doctests shell: /usr/bin/bash -e {0}...