🏷️ add pre-commit flow

This commit is contained in:
yanyongyu
2022-01-15 21:27:43 +08:00
parent cc343c981f
commit 93aec6d3f6
26 changed files with 226 additions and 77 deletions

View File

@@ -44,6 +44,7 @@ pytest-cov = "^3.0.0"
pytest-xdist = "^2.5.0"
nonebug = { git = "https://github.com/nonebot/nonebug.git" }
sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-builder.git" }
pre-commit = "^2.16.0"
[tool.poetry.extras]
quart = ["quart"]
@@ -73,7 +74,7 @@ line_length = 80
length_sort = true
skip_gitignore = true
force_sort_within_sections = true
known_local_folder = ["nonebot"]
src_paths = ["nonebot", "tests"]
extra_standard_library = ["typing_extensions"]
[build-system]