-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject_test.toml
107 lines (97 loc) · 3.34 KB
/
pyproject_test.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
96
97
98
99
100
101
102
103
104
105
106
107
[tool.poetry]
name = "fleece"
version = "1.2.1"
description = "Wrap the lamb...da"
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/rackerlabs/fleece"
repository = "https://github.com/rackerlabs/fleece"
keywords = ['fleece', 'lambda']
classifiers = [
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Topic :: Software Development',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.10',
]
authors = ["Bruce Stringer <[email protected]>", "Ryan Walker <[email protected]>", "Szilveszter Farkas <[email protected]>","Tim Simpson <[email protected]>"]
maintainers = ["Bruce Stringer <[email protected]>", "Ryan Walker <[email protected]>", "Szilveszter Farkas <[email protected]>","Tim Simpson <[email protected]>"]
include = ["fleece/cli/build/Dockerfile", "fleece/cli/build/docker_build_lambda.sh"]
packages = [
{ include = "fleece" }
]
[tool.poetry.scripts]
fleece = "fleece.cli.main:main"
[tool.poetry.extras]
connexion = [
"connexion",
"Flask",
"Werkzeug",
]
cli = [
"docker",
"PyYAML",
"ruamel.yaml",
"six",
]
wsgi = [
"Werkzeug",
]
[tool.poetry.dependencies]
python = "^3.6"
# connecxion
connexion = { version = "^1.1.9", optional = true }
Flask = { version = "^1.1.1", optional = true }
# cli
docker = { version = "^3.5.1", optional = true }
PyYAML = { version = "6.0.1", optional = true }
"ruamel.yaml" = { version = "^0.18.3", optional = true }
# wsgi and connecxion
Werkzeug = { version = "^0.15.5", optional = true }
structlog = "^20.1.0"
requests = "^2.9.1"
boto3 = "^1.0.0"
wrapt = "^1.10.10"
click = "8.0.1"
[tool.poetry.dev-dependencies]
coverage = "^4.0.3"
flake8 = "^3.8.3"
mock = "1.0.1"
nose = "^1.3.7"
pylint = "^1.5.4"
docker = "^3.5.1"
taskipy = "^1.2.1"
moto = "^1.3.14"
black = "^19.10b0"
safety = "^1.9.0"
isort = "^4.3.21"
pytest = "^5.4.1"
Werkzeug = "^0.15.5"
bandit = "^1.6.2"
"ruamel.yaml" = "^0.18.3"
Flask = "^1.1.1"
connexion = "^1.1.9"
[tool.taskipy.tasks]
pytest = "pytest --junitxml=test-results/junit.xml"
bandit = "bandit -c .bandit.yml -r fleece/"
black = "black fleece"
black_ci = "black -check fleece"
flake8 = "flake8 fleece/ tests/"
convert_readme = "pandoc --from=gfm --to=rst README.md --output=README.rst"
generate_requirements = "poetry export -f requirements.txt -o requirements.txt"
pre_safety = "task generate_requirements"
safety = "safety check -r requirements.txt -i 62142 -i 55261 -i 67895 -i 64227 -i 70612 -i 71064 -i 58755 -i 52495 -i 53326 -i 53325 -i 62019"
isort = "isort -rc fleece"
isort_ci = "isort -rc -c fleece"
full = "task pytest && task black && task flake8 && task safety && task bandit && task isort"
ci = "task pytest && task black_ci && task flake8 && task safety && task bandit && task isort_ci"
[tool.isort]
force_single_line = true
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"