-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.cfg
146 lines (133 loc) · 2.94 KB
/
setup.cfg
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[metadata]
name = lambda-handlers
version = attr: lambda_handlers.version.__version__
description = A collection of useful decorators for making AWS Lambda handlers
long_description = file: README.md
long_description_content_type = text/markdown
project_urls =
Documentation = http://lambda-handlers.readthedocs.io
Source Code = https://github.com/enter-at/lambda-handlers
Bug Tracker = https://github.com/enter-at/lambda-handlers/issues
Changelog = https://github.com/enter-at/lambda-handlers/blob/master/CHANGELOG.md
author = Steffen Leistner, Alexandre Savio
author_email = info@enterat.de
license = Apache License Version 2.0
license-file = LICENSE
keywords =
aws
lambda
serverless
decorator
http
api
rest
json
validation
jsonschema
marshmallow
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Other Environment
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
[options]
python_requires = >=3.7
packages = find:
include_package_data = True
test_suite = tests
setup_requires =
wheel
setuptools
pytest-runner
install_requires =
tests_require =
pytest
marshmallow==3.2.1
jsonschema==3.0.1
[options.extras_require]
jsonschema =
jsonschema==3.0.1
marshmallow =
marshmallow==3.2.1
[pydocstyle]
inherit = false
convention = numpy
match = (?!test_).*\.py
ignore-decorators = property
[flake8]
max-line-length = 120
max-complexity = 10
select = C,E,F,W,B,B950
ignore = E501,E126
[isort]
multi_line_output = 3
include_trailing_comma = True
use_parentheses = True
force_single_line = False
indent = 4
line_length = 120
wrap_length = 60
not_skip = __init__.py
length_sort = True
known_first_party = lambda_handlers
known_third_party = pytest,marshmallow,jsonschema
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
python_version = 3.7
ignore_missing_imports = True
warn_unused_configs = True
[tox:tox]
envlist =
lint,
doclint,
isort,
mypy,
tests
skipsdist = True
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning
norecursedirs =
node_modules
markers =
only
slow
[coverage:run]
branch = True
[coverage:report]
include =
lambda_handlers/*
omit =
*/tests/*
[testenv]
basepython = python3
whitelist_externals = make
deps =
lint: flake8
lint: flake8-bugbear
doclint: pydocstyle
isort: isort
mypy: mypy
passenv =
CI = 1
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
TESTING = True
commands =
lint: flake8 lambda_handlers
isort: isort -c -rc lambda_handlers
mypy: mypy lambda_handlers
doclint: pydocstyle --convention=numpy -v lambda_handlers
[testenv:tests]
deps =
coverage
commands =
python -m pip install -e .
coverage run -m pytest
coverage report
[testenv:docs]
deps = -rdocs/requirements.txt
commands =
mkdocs {posargs:build}