forked from dgilland/cacheout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
109 lines (99 loc) · 2.38 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
[metadata]
name = cacheout
version = attr: cacheout.__version__
author = Derrick Gilland
author_email = dgilland@gmail.com
url = https://github.com/dgilland/cacheout
description = A caching library for Python
long_description = file: README.rst, CHANGELOG.rst, LICENSE.rst
keywords = cacheout cache caching memoize memoization fifo lifo lfu lru mru
license = MIT License
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Intended Audience :: Developers
Operating System :: OS Independent
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.9
Topic :: Database
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
coverage
docformatter
flake8
flake8-black
flake8-bugbear
flake8-isort
invoke
isort
mypy
pylint
pytest
pytest-cov
pytest-flake8
pytest-mypy
pytest-pylint
Sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
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
[mypy]
show_column_numbers = True
show_error_context = False
ignore_missing_imports = True
warn_return_any = False
strict_optional = True
warn_no_return = True
warn_redundant_casts = False
warn_unused_ignores = False
[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_*