mirror of https://github.com/zulip/zulip.git
ruff: Configure target-version.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
8aa7ff4bbb
commit
66393640a8
|
@ -113,12 +113,6 @@ ignore = [
|
||||||
"E402", # Module level import not at top of file
|
"E402", # Module level import not at top of file
|
||||||
"E501", # Line too long
|
"E501", # Line too long
|
||||||
"E731", # Do not assign a lambda expression, use a def
|
"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
|
line-length = 100
|
||||||
|
target-version = "py38"
|
||||||
|
|
Loading…
Reference in New Issue