forked from cthoyt/quickstatements_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
163 lines (145 loc) · 3.45 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
##########################
# Setup.py Configuration #
##########################
[metadata]
name = quickstatements_client
version = 0.0.3-dev
description = A data model and client for Wikidata QuickStatements
long_description = file: README.md
long_description_content_type = text/markdown
# URLs associated with the project
url = https://github.com/cthoyt/quickstatements-client
download_url = https://github.com/cthoyt/quickstatements-client/releases
project_urls =
Bug Tracker = https://github.com/cthoyt/quickstatements-client/issues
Source Code = https://github.com/cthoyt/quickstatements-client
# Author information
author = Charles Tapley Hoyt
author_email = [email protected]
maintainer = Charles Tapley Hoyt
maintainer_email = [email protected]
# License Information
license = MIT
license_files =
LICENSE
# Search tags
classifiers =
Development Status :: 1 - Planning
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Framework :: Pytest
Framework :: tox
Framework :: Sphinx
Programming Language :: Python
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
Programming Language :: Python :: 3 :: Only
keywords =
snekpack
cookiecutter
wikidata
quickstatements
pydantic
[options]
install_requires =
click
pydantic
pystow
typing_extensions
# Random options
zip_safe = false
include_package_data = True
python_requires = >=3.7
# Where is my code
packages = find:
package_dir =
= src
[options.packages.find]
where = src
[options.extras_require]
tests =
pytest
coverage
docs =
sphinx<7.0
sphinx-rtd-theme
sphinx-click
sphinx-autodoc-typehints
sphinx_automodapi
# To include LaTeX comments easily in your docs.
# If you uncomment this, don't forget to do the same in docs/conf.py
# texext
[options.entry_points]
console_scripts =
quickstatements_client = quickstatements_client.cli:main
######################
# Doc8 Configuration #
# (doc8.ini) #
######################
[doc8]
max-line-length = 120
##########################
# Coverage Configuration #
# (.coveragerc) #
##########################
[coverage:run]
branch = True
source = quickstatements_client
omit =
tests/*
docs/*
[coverage:paths]
source =
src/quickstatements_client
.tox/*/lib/python*/site-packages/quickstatements_client
[coverage:report]
show_missing = True
exclude_lines =
pragma: no cover
raise NotImplementedError
if __name__ == "__main__":
if TYPE_CHECKING:
def __str__
def __repr__
##########################
# Darglint Configuration #
##########################
[darglint]
docstring_style = sphinx
strictness = short
#########################
# Flake8 Configuration #
# (.flake8) #
#########################
[flake8]
ignore =
S301 # pickle
S403 # pickle
S404
S603
W503 # Line break before binary operator (flake8 is wrong)
E203 # whitespace before ':'
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs,
data
max-line-length = 120
max-complexity = 20
import-order-style = pycharm
application-import-names =
quickstatements_client
tests