-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
96 lines (87 loc) · 2.17 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
[metadata]
name = fnc
version = attr: fnc.__version__
author = Derrick Gilland
author_email = [email protected]
url = https://github.com/dgilland/fnc
description = Functional programming in Python with generators and other utilities.
long_description = file: README.rst, CHANGELOG.rst, LICENSE.rst
keywords = fnc functional functional-programming generators utility
license = MIT License
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
[options]
package_dir =
= src
packages = find:
python_requires = >=3.6
install_requires =
[options.packages.find]
where = src
[options.extras_require]
dev =
black
build
coverage
docformatter
flake8
flake8-black
flake8-bugbear
flake8-isort
furo
importlib_metadata<5; python_version=="3.7"
invoke
isort
pylint
pytest
pytest-cov
sphinx
tox
twine
wheel
[bdist_wheel]
python_tag = py3
[flake8]
exclude = .tox,venv,env
max_line_length = 100
max_complexity = 12
# F401 - `module` imported but unused
# F811 - redefinition of unused `name` from line `N`
# E203 - whitespace before ':'
# W503 - line break before binary operator
ignore = F401,F811,E203,W503
[tool:isort]
line_length = 100
multi_line_output = 3
lines_after_imports = 2
combine_as_imports = true
include_trailing_comma = true
force_sort_within_sections = true
[tool:pytest]
junit_family = xunit2
addopts =
--verbose
--doctest-modules
--no-cov-on-fail
--cov-fail-under=100
--cov-report=term-missing
--cov-report=xml:build/coverage/coverage.xml
--cov-report=html:build/coverage
--junitxml=build/testresults/junit.xml
[coverage:run]
omit =
*/tests/*
*/test_*