ruff: Configure target-version.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-11-07 21:42:06 -08:00 committed by Anders Kaseorg
parent 8aa7ff4bbb
commit 66393640a8
1 changed files with 1 additions and 7 deletions

View File

@ -113,12 +113,6 @@ ignore = [
"E402", # Module level import not at top of file
"E501", # Line too long
"E731", # Do not assign a lambda expression, use a def
# Requires Python 3.9:
"U002", # `abspath(__file__)` is unnecessary in Python 3.9 and later
"U006", # Use `list` instead of `List` for type annotations
# Requires Python 3.10:
"U007", # Use `X | Y` for type annotations
]
line-length = 100
target-version = "py38"