-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (60 loc) · 1.54 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tool.poetry]
name = "pkuphysu-wechat"
version = "0.1.0"
description = ""
authors = ["Allan Chain "]
[[tool.poetry.source]]
name = 'default'
url = 'https://pypi.tuna.tsinghua.edu.cn/simple'
default = true
[tool.poetry.dependencies]
python = "^3.6.1"
WeRoBot = "^1.13.1"
Flask = "^2.0.0"
command4bot = "^0.4.1"
dynaconf = "^3.1.4"
sqlalchemy = "^1.4.6"
psycopg2_binary = "^2.8.6"
flask-sqlalchemy = "^2.5.1"
isort = { version = "^5.8.0", extras = ["toml"] }
flask-cors = "^3.0.10"
requests = "^2.25.1"
alembic = "^1.5.8"
[tool.poetry.dev-dependencies]
black = "^20.8b1"
pytest = "^6.2.2"
pre-commit = "^2.10.1"
flake8 = "^3.9.0"
python-dotenv = "^0.15.0"
pylint = "^2.7.4"
coverage = "^5.5"
bandit = "^1.7.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "-v"
log_level = "INFO"
markers = """
incremental: Incremental Test
"""
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.pylint.messages_control]
confidence = "HIGH"
disable = "C0114, C0115, C0116, C0330, C0326"
[tool.pylint.format]
max-line-length = "88"
[tool.pylint.typecheck]
ignored-classes = ["SQLAlchemy", "scoped_session"]
[tool.pylint.basic]
# f for func, e for error, v for value (in k, v), rv for flask test convention
good-names = ["i", "j", "k", "f", "e", "v", "_", "rv"]
[tool.pylint.variables]
# ignore message as werobot convention
ignored-argument-names = "_.*|^ignored_|^unused_|^message$"