-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (78 loc) · 2 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "flask-providers-session"
version = "0.4.1"
description = "Fork version flask session"
authors = ["benbenbang <[email protected]>"]
maintainers = [
"benbenbang <[email protected]>",
]
readme = "README.md"
packages = [
{include = "flask_session"}
]
[tool.poetry.dependencies]
python = "^3.7.2"
pylibmc = "^1.6.3"
cachelib = { version = ">= 0.9.0", optional = true}
pymongo = { version = ">= 4.3.2", optional = true}
redis = { version = ">= 4.3.4", optional = true }
flask-sqlalchemy = { version = ">= 1.0.0", optional = true }
[tool.poetry.extras]
all = ["cachelib", "pymongo", "redis", "flask-sqlalchemy"]
cache = ["cachelib"]
redis = ["redis"]
mongo = ["pymongo"]
sqlalechmey = ["flask-sqlalchemy"]
[tool.poetry.group.dev.dependencies]
Flask = "^1.1.0"
MarkupSafe = { version = "1.1.1" }
pre-commit = "^2.20.0"
[tool.poetry.group.tests.dependencies]
pytest = "^7.2.0"
pytest-mock = "^3.10.0"
pytest-cov = "^4.0.0"
pylint = "^2.15.5"
[tool.poetry.group.build.dependencies]
twine = "^4.0.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.messages_control]
disable = [
"all"
]
enable = [
"consider-using-f-string",
"cyclic-import",
"deprecated-module",
"f-string-without-interpolation",
"import-error",
"import-self",
"undefined-variable",
"undefined-all-variable",
"unused-format-string-argument",
"unused-format-string-key",
"unused-import",
# This might be unused but a mandatory signature in airflow runtime
# "unused-argument",
"unused-wildcard-import",
"unused-variable",
"used-before-assignment",
"use-list-literal",
"raise-missing-from",
"simplifiable-condition",
"simplify-boolean-expression",
"super-with-arguments",
"wrong-spelling-in-comment",
"wrong-spelling-in-docstring",
]
[tool.pylint.format]
max-line-length = 120
[tool.pytest.ini_options]
addopts = '--basetemp=/tmp/pytest'
testpaths = [
"tests"
]
markers = [
"unittests: run unittests",
]