Enable nearly all pyupgrade rules (except on test cases) (#11499)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Avasam
2024-02-29 13:33:40 -05:00
committed by GitHub
parent 5cb2fe97a6
commit 26e8c0002f
2 changed files with 20 additions and 9 deletions

View File

@@ -1 +1,4 @@
from builtins import *
# flake8: noqa: NQA102 # https://github.com/plinss/flake8-noqa/issues/22
# six explicitly re-exports builtins. Normally this is something we'd want to avoid.
# But this is specifically a compatibility package.
from builtins import * # noqa: UP029