forked from TencentBlueKing/bkpaas-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (45 loc) · 1.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool.poetry]
name = "蓝鲸 PaaS 平台 Python 工具集"
version = "0.0.1"
description = "BlueKing PaaS Python SDK"
authors = ["blueking <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.6.2,<4.0"
[tool.poetry.dev-dependencies]
# black
black = "^21.7b0"
# isort
isort = "^5.9.2"
# flake8
pyproject-flake8 = "^0.0.1-alpha.2"
flake8-comprehensions = "^3.5.0"
# pytest
pytest = "^6.2.4"
pytest-django = "^3.9.0"
pytest-cov = "^2.8.1"
[tool.black]
line-length = 119
skip-string-normalization = 'true'
[tool.isort]
multi_line_output = 3
include_trailing_comma = 'true'
force_grid_wrap = 0
use_parentheses = 'true'
line_length = 119
skip_glob = ["*/migrations/**", "*/node_modules/**"]
known_local_folder = [
"tests",
# Knonwn Python packages
"blue_krill",
"bkpaas_auth",
"bkapi_client_core",
"bkapi_component",
"bk_storages",
"apigw_manager"
]
[tool.flake8]
ignore = "F405,C901,E203,W503"
max-line-length = 119
max-complexity = 8
format = "pylint"
exclude = "*migrations*,*.pyc,.git,__pycache__,*/node_modules/*,*/bin/*"