mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 11:26:43 +08:00
add isort
This commit is contained in:
parent
79799e6d44
commit
3e5e83098c
@ -5,11 +5,10 @@ ci:
|
|||||||
autoupdate_schedule: weekly
|
autoupdate_schedule: weekly
|
||||||
autoupdate_commit_msg: "auto update by pre-commit hooks"
|
autoupdate_commit_msg: "auto update by pre-commit hooks"
|
||||||
repos:
|
repos:
|
||||||
# - repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
# rev: 5.10.1
|
rev: 5.10.1
|
||||||
# hooks:
|
hooks:
|
||||||
# - id: isort
|
- id: isort
|
||||||
# args: ["--profile", "black", "--filter-files"]
|
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.1.0
|
rev: 22.1.0
|
||||||
|
@ -61,3 +61,14 @@ markers = [
|
|||||||
"render: render img by chrome"
|
"render: render img by chrome"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.black]
|
||||||
|
line-length = 88
|
||||||
|
target-version = ["py39", "py310"]
|
||||||
|
include = '\.pyi?$'
|
||||||
|
extend-exclude = '''
|
||||||
|
'''
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
line_length = 88
|
||||||
|
skip_gitignore = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user