Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,3 @@ Bug Fixes
## [v1.4](https://github.com/PyCQA/docformatter/tree/v1.4) (2020-12-27)

[Full Changelog](https://github.com/PyCQA/docformatter/compare/v1.3.1...v1.4)



4 changes: 2 additions & 2 deletions src/docformatter/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,10 +478,10 @@ def is_newline_continuation(


def _is_blank_line(line: str) -> bool:
"""Determine if a physical line is blank.
r"""Determine if a physical line is blank.

A blank line is a non-empty line that holds nothing but whitespace, e.g.
"\\n" or " \\n". The empty string is *not* a blank line; tokenize uses
"\n" or " \n". The empty string is *not* a blank line; tokenize uses
it as the line of the NEWLINE token it synthesizes for source that has no
trailing newline, as well as for DEDENT and ENDMARKER tokens.

Expand Down
2 changes: 1 addition & 1 deletion src/docformatter/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
except ImportError:
# Neither the stdlib tomllib (Python < 3.11) nor the tomli backport is
# available; TOML configuration files are skipped in that case. See #368.
tomllib = None
tomllib = None # type: ignore[assignment]

# docformatter Package Imports
from docformatter import __pkginfo__
Expand Down
Loading