From 2246217295dc8cb30ef4a7b9d8dc449ce32e603a Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 12 Jun 2022 17:07:21 -0400 Subject: burn the bridges with python 2.x (#707) * pyupgrade --py36-plus * remove handling of PY2 * remove handling of PY35_PLUS * remove handling of PY36_PLUS * remove obsolete version_info checks in pyflakes/ * adjust skips in tests for 3.6+ * is_py3_func -> has_annotations (specifically for lambda) * remove references to py 2 * remove references to unichr * clean up version-specific getattrs * remove unused ReturnWithArgsInsideGenerator * remove unused ast handlers * remove unused RedefinedInListComp --- pyflakes/scripts/pyflakes.py | 1 - 1 file changed, 1 deletion(-) (limited to 'pyflakes/scripts') diff --git a/pyflakes/scripts/pyflakes.py b/pyflakes/scripts/pyflakes.py index 4a18e79..2d6f6aa 100644 --- a/pyflakes/scripts/pyflakes.py +++ b/pyflakes/scripts/pyflakes.py @@ -1,7 +1,6 @@ """ Implementation of the command-line I{pyflakes} tool. """ -from __future__ import absolute_import # For backward compatibility __all__ = ['check', 'checkPath', 'checkRecursive', 'iterSourceCode', 'main'] -- cgit v1.2.1