Page MenuHomeSolus

Update pycodestyle to 2.5.0
AbandonedPublic

Authored by maverick1 on May 27 2019, 5:31 AM.
Tags
None
Referenced Files
F11070249: D6437.diff
Sat, Aug 12, 12:02 AM
F11046696: D6437.diff
Thu, Aug 10, 1:58 PM
F10910105: D6437.diff
Jul 7 2023, 3:44 AM
F10882384: D6437.id.diff
Jun 23 2023, 11:32 AM
F10764529: D6437.id15473.diff
May 19 2023, 7:42 AM
F10764420: D6437.diff
May 19 2023, 6:57 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Triage Team
Summary

Update pycodestyle to 2.5.0

New Checks

  • E117: Over-indented code blocks
  • W505: Maximum doc-string length only when configured with --max-doc-length

Changes

  • Add E117 error for over-indented code blocks.
  • Allow W605 to be silenced by # noqa and fix the position reported by W605
  • Allow users to omit blank lines around one-liner definitions of classes and functions
  • Include the function return annotation (`->`) as requiring surrounding whitespace only on Python 3
  • Verify that only names can follow `await`. Previously we allowed numbers and strings.
  • Remove support for EOL Python 2.6 and 3.3.
  • Add support for Python 3.7
  • Fix detection of annotated argument defaults for E252
  • Correct the position reported by W504
Test Plan

Checked a python code against pep8.

Diff Detail

Repository
R2504 pycodestyle
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage