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

Add error D303 when an f-string is used as a docstring #381

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Merge branch 'master' into fstrings
  • Loading branch information
sambhav authored Sep 21, 2020
commit b46db4919cbbaef6b01767353120e236f6fbd73d
4 changes: 4 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ New Features
* New error code D303 is emitted when an f-string is found in place of a
docstring. Also fixes a bug where using f-strings as docstrings returned
ValueError: malformed node or string. (#381)
* Methods, Functions and Nested functions that have a docstring now throw D418 (#511).
* Methods decorated with @overload no longer reported as D102 (#511).
* Functions and nested functions decorated with @overload no longer reported as D103 (#511).


Bug Fixes

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.