Open
Description
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: DAR201: - return
.\test_darglint.py:f:1: DAR101: - x
How to make an alert if there is no docstring in the function
Metadata
Metadata
Assignees
Labels
No labels