mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
tljh package: require python 3.9+
This commit is contained in:
@@ -15,8 +15,8 @@ repos:
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args:
|
||||
- --py36-plus
|
||||
# We need the bootstrap.py script to be parsable with Python 3.5, so we
|
||||
- --py39-plus
|
||||
# We need the bootstrap.py script to be parsable with Python 3.8, so we
|
||||
# exclude it from the pyupgrade hook that will apply f-strings etc.
|
||||
exclude: bootstrap/bootstrap.py
|
||||
|
||||
|
||||
@@ -25,12 +25,10 @@ profile = "black"
|
||||
# target-version should be all supported versions, see
|
||||
# https://github.com/psf/black/issues/751#issuecomment-473066811
|
||||
target_version = [
|
||||
"py36",
|
||||
"py37",
|
||||
"py38",
|
||||
"py39",
|
||||
"py310",
|
||||
"py311",
|
||||
"py312",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user