-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
93 lines (77 loc) · 2.09 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
[metadata]
name = simple_imaging
version = 0.8.3
description = a simple digital image processing library
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/deadpyxel/simple_imaging
author = deadpyxel
author_email = [email protected]
license = MIT
license_file = LICENSE
classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
[options]
packages = find:
python_requires = >=3.7
[options.packages.find]
exclude =
tests*
testing*
[bdist_wheel]
universal = True
[bumpversion]
current_version = 0.8.3
commit = True
tag = True
message = bump: version {current_version} -> {new_version}
[bumpversion:file:setup.cfg]
search = {current_version}
replace = {new_version}
[bumpversion:file:README.md]
search = {current_version}
replace = {new_version}
[bumpversion:file:simple_imaging/__init__.py]
search = {current_version}
replace = {new_version}
[flake8]
enable-extensions = G
exclude = .git, .venv, __init__.py
ignore = E203,E501,W503,S101
max-line-length = 80
application-import-names = simple_imaging,tests
[coverage:run]
omit = tests/*,main.py,venv/*,setup.py
[coverage:report]
show_missing = True
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
[mypy]
files = simple_imaging,tests,main.py
warn_unused_configs = True
check_untyped_defs = True
disallow_any_generics = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
no_implicit_optional = True
[mypy-tests.*]
disallow_untyped_defs = False
[tool:pytest]
python_files = tests/test_*.py
markers =
fast: marks a test as a fast execution test.
slow: marks a test as a slow execution test.
adapter: marks a test belonging to the abstraction layer.