Public bug reported:

It seems that such warnings come from Windows line ending `\r\n`,

'D002 Trailing whitespace'
'D004 Found literal carriage return'

doc8 should properly handle Windows line endings and do not report on
such, because not all text files are of UNIX/Linux line ending `\n`.

(Linked to reStructuredText extension for VSCode https://github.com
/vscode-restructuredtext/vscode-restructuredtext/issues/84)

** Affects: doc8
     Importance: Undecided
         Status: New

** Project changed: manila => python-doc8 (Ubuntu)

** Description changed:

- It seems that such warnings come from Windows line ending `\r\n`.
+ It seems that such warnings come from Windows line ending `\r\n`,
+ 
+ 'D002 Trailing whitespace'
+ 'D004 Found literal carriage return'
  
  doc8 should properly handle Windows line endings and do not report on
- such.
+ such, because not all text files are of UNIX/Linux line ending `\n`.

** Package changed: python-doc8 (Ubuntu) => doc8

** Description changed:

  It seems that such warnings come from Windows line ending `\r\n`,
  
  'D002 Trailing whitespace'
  'D004 Found literal carriage return'
  
  doc8 should properly handle Windows line endings and do not report on
  such, because not all text files are of UNIX/Linux line ending `\n`.
+ 
+ (Linked to reStructuredText extension for VSCode https://github.com
+ /vscode-restructuredtext/vscode-restructuredtext/issues/84)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1756704

Title:
  doc8 reports unnecessary D002 and D004 on Windows line ending

To manage notifications about this bug go to:
https://bugs.launchpad.net/doc8/+bug/1756704/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to