forked from gherkin-by-example/python-behave
/
setup.cfg
169 lines (151 loc) · 3.6 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# This file is part of gerkin-by-example
#
# Copyright (C) 2021 Rafael Guterres Jeffman
#
# This software is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this software. If not, see <https://www.gnu.org/licenses/>.
[metadata]
name = gherkin-by-example-python
version = 0.2.0
author = Rafael Guterres Jeffman
author-email = rafasgj@gmail.com
home-page = https://github.com/gherkin-by-example/python-behave
url = https://github.com/gherkin-by-example/python-behave
description = Use Gherkin as specification language for Python projects.
long-description = file: README.md
long-description-content-type = text/markdown
license = GPLv3
license_files = COPYING
platform = any
keywords = ['CLI', 'Development Tool']
classifiers =
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
project_urls =
Bug Tracker = https://github.com/gherkin-by-example/python-behave/issues
Changelog = https://github.com/gherkin-by-example/python-behave/releases
[options]
zip_safe = False
include_package_data = True
packages = find:
# install_requires =
test_require =
behave
coverage
tox
# [options.package_data]
[options.extras_require]
dev =
%(test)s
pre-commit
setuptools > 50.0
test =
%(lint)s
behave
coverage
tox
lint =
black
flake8
pylint
pydocstyle
release =
setuptools > 50.0
twine
[bdist_wheel]
universal = true
[check]
metadata = true
strict = true
[sdist]
formats = gztar
# Tools
[behave]
stop = true
stdout_capture = true
stderr_capture = true
junit = false
[coverage:run]
omit =
.tox/*
.venv/*
/usr/*
tests/*
features/*
*/.local/*
[coverage:report]
show_missing = true
skip_covered = true
skip_empty = true
exclude_lines =
pragma: no cover
if False
[pydocstyle]
match-dir = (?!tests)(?!resources)(?!docs)[^\.].*
match = (?!test)(?!setup)[^\._].*\.py
inherit = false
ignore = D203, D212
[flake8]
max-line-length = 80
doctests = True
max-complexity = 10
extend-ignore = E203, W503
exclude =
.tox
.venv
.git
.eggs
__pycache__
docs
build
dist
[pylint]
max-nested-blocks = 5
ignored-modules = behave
max-line-length = 80
load-plugins = pylint.extensions.mccabe
max-complexity = 10
[pylint.SIMILARITIES]
min-similarity-lines=6
ignore-comments=yes
ignore-docstrings=yes
ignore-imports=no
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[tox:tox]
envlist = py37-linux, py38-{linux,macos}, py39-linux, py310-linux
skipsdist = True
skip_missing_interpreters = True
[testenv]
platform = linux: linux
macos: darwin
commands =
{envpython} -m pip install pip --upgrade
{envpython} -m pip install -e .[lint]
black --check .
flake8 .
pydocstyle .
pylint features setup.py calculator
{envpython} -m pip install -e .[test]
coverage run -m behave
coverage report