mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-03 18:06:13 +08:00
add isort
This commit is contained in:
parent
79799e6d44
commit
3e5e83098c
@ -5,11 +5,10 @@ ci:
|
||||
autoupdate_schedule: weekly
|
||||
autoupdate_commit_msg: "auto update by pre-commit hooks"
|
||||
repos:
|
||||
# - repo: https://github.com/pycqa/isort
|
||||
# rev: 5.10.1
|
||||
# hooks:
|
||||
# - id: isort
|
||||
# args: ["--profile", "black", "--filter-files"]
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.10.1
|
||||
hooks:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.1.0
|
||||
|
@ -61,3 +61,14 @@ markers = [
|
||||
"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