-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
106 lines (95 loc) · 3.21 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
96
97
98
99
100
101
102
103
104
105
[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',
]
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 = ">=3.12", optional = true }
"ruamel.yaml" = { version = ">=0.15.34", optional = true }
# wsgi and connecxion
Werkzeug = { version = ">=0.15.5", optional = true }
structlog = ">=15.3.0"
requests = ">=2.9.1"
boto3 = ">=1.0.0"
wrapt = ">=1.10.10"
[tool.poetry.dev-dependencies]
coverage = ">=4.0.3"
flake8 = ">=2.5.1"
mock = ">=1.3.0"
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.15.34"
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"
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"