-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
116 lines (102 loc) · 2.46 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
[metadata]
name = mangaupdates_talker
description = A MangaUpdates API talker for ComicTagger a cross-platform GUI/CLI app for writing metadata to comic archives
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/mizaki/mangaupdates-talker
author = ComicTagger team
author_email = [email protected]
license = Apache-2.0
license_files = LICENSE
classifiers =
Development Status :: 3 - Alpha
Environment :: Console
Environment :: MacOS X
Environment :: Plugins
Environment :: Win32 (MS Windows)
Environment :: X11 Applications :: Qt
Intended Audience :: End Users/Desktop
License :: OSI Approved :: Apache Software License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Topic :: Multimedia :: Graphics
Topic :: Other/Nonlisted Topic
Topic :: Utilities
keywords =
comictagger
mangaupdates
comics
comic
metadata
tagging
tagger
[options]
packages = find:
python_requires = >=3.9
[options.packages.find]
exclude = tests; testing
src = mangaupdates_talker
[options.entry_points]
comictagger.talker =
mangaupdates = mangaupdates_talker.mangaupdates:MangaUpdatesTalker
[options.extras_require]
dev =
black>=22
flake8==4.*
flake8-black
flake8-encodings
flake8-isort
tox
isort>=5.10
pytest==7.*
setuptools>=42
setuptools-scm[toml]>=3.4
wheel
[tox:tox]
envlist = py3.9
[testenv]
deps = -requirements-dev.txt
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report
[testenv:wheel]
description = Generate wheel and tar.gz
labels =
release
build
skip_install = true
deps =
build
commands_pre =
-python -c 'import shutil,pathlib; \
shutil.rmtree("./build/", ignore_errors=True); \
shutil.rmtree("./dist/", ignore_errors=True)'
commands =
python -m build
[pep8]
ignore = E265,E501
max_line_length = 120
[flake8]
extend-ignore = E501, A003
max_line_length = 120
per-file-ignores =
*_test.py: LN001
[coverage:run]
plugins = covdefaults
[coverage:report]
fail_under = 95
[mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[mypy-testing.*]
disallow_untyped_defs = false
[mypy-tests.*]
disallow_untyped_defs = false