🔧 update black configuration

Signed-off-by: Karako <karakohear@gmail.com>
This commit is contained in:
Karako 2023-03-21 11:15:47 +08:00
parent 999e4944a6
commit 123cdb1191
No known key found for this signature in database
GPG Key ID: 5920831B0095D4A0

View File

@ -8,7 +8,7 @@ readme = "README.md"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
httpx= "^0.23.3" httpx = "^0.23.3"
ujson = "^5.7.0" ujson = "^5.7.0"
genshin = { git = "https://github.com/thesadru/genshin.py" } genshin = { git = "https://github.com/thesadru/genshin.py" }
Jinja2 = "^3.1.2" Jinja2 = "^3.1.2"
@ -33,7 +33,7 @@ flaky = { version = "^3.7.0", optional = true }
lxml = "^4.9.2" lxml = "^4.9.2"
arko-wrapper = "^0.2.8" arko-wrapper = "^0.2.8"
fastapi = "^0.94.0" fastapi = "^0.94.0"
uvicorn = {extras = ["standard"], version = "^0.21.1"} uvicorn = { extras = ["standard"], version = "^0.21.1" }
sentry-sdk = "^1.17.0" sentry-sdk = "^1.17.0"
GitPython = "^3.1.30" GitPython = "^3.1.30"
openpyxl = "^3.1.1" openpyxl = "^3.1.1"
@ -65,4 +65,4 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.black] [tool.black]
include = '\.pyi?$' include = '\.pyi?$'
line-length = 120 line-length = 120
target-version = ['py38', 'py39', 'py310'] target-version = ['py311']