Page MenuHomeSolus

Update pyflakes to 2.0.0
ClosedPublic

Authored by kyrios123 on Oct 31 2018, 3:58 PM.
Tags
None
Referenced Files
F11069515: D4231.diff
Fri, Aug 11, 11:14 PM
F10929510: D4231.diff
Jul 11 2023, 6:29 AM
F10916730: D4231.id.diff
Jul 8 2023, 1:42 PM
F10808740: D4231.id10412.diff
May 30 2023, 10:17 AM
F10808732: D4231.id10489.diff
May 30 2023, 10:15 AM
F10808157: D4231.diff
May 30 2023, 7:26 AM
F10753949: D4231.id10489.diff
May 16 2023, 7:27 PM
F10708917: D4231.id.diff
Apr 27 2023, 9:17 PM
Subscribers

Details

Summary
  • Drop support for EOL Python <2.7 and 3.2-3.3
  • Check for unused exception binding in except: block
  • Handle string literal type annotations
  • Ignore redefinitions of _, unless originally defined by import
  • Support __class__ without self in Python 3
  • Issue an error for raise NotImplemented(...)
  • Process function scope variable annotations for used names
  • Find Python files without extensions by their shebang

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
  • Enable unit tests
  • Required for updating flake8

Diff Detail

Repository
R2509 pyflakes
Lint
Lint Not Applicable
Unit
Tests Not Applicable