-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
123 lines (112 loc) · 2.3 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
[bdist_wheel]
universal = 1
[metadata]
name = fcs-simple-endpoint
version = 1.0.4
author = Erik Körner
author_email = "Erik Körner" <[email protected]>
description = "FCS SRU Simple Endpoint"
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
keywords =
SRU
FCS
CLARIN
url = https://github.com/Querela/fcs-simple-endpoint-python/
project_urls =
Source = https://github.com/Querela/fcs-simple-endpoint-python/
Documentation = https://fcs-simple-endpoint-python.readthedocs.io/
Issue Tracker = https://github.com/Querela/fcs-simple-endpoint-python/issues
[options]
zip_safe = True
include_package_data = True
package_dir =
=src
packages = find_namespace:
python_requires = >=3.8
install_requires =
fcs-sru-server >=1.1.3
fcs-ql-parser >=1.0.1
;defusedxml >=0.7.1
lxml >=4.9.2
PyJWT[crypto] >=2.6.0
cryptography >=39.0.0
; deprecated
[options.packages.find]
where = src
[options.package_data]
clarin.sru.fcs =
py.typed
clarin.sru.fcs.xml =
*.xsd
[options.extras_require]
test =
pytest >=7.2.1
pytest-cov >=4.0.0
pytest-clarity >=1.0.1
pytest-randomly >=3.12.0
style =
black >=23.1.0
flake8 >=6.0.0
isort >=5.11.4
mypy >=0.991
darglint >=1.8.1
;lxml-stubs
docs =
sphinx >=5.3.0
sphinx-rtd-theme >=0.5.1
myst-parser >=0.18.1
build =
build >=0.10.0
twine >=4.0.2
[flake8]
max-line-length = 140
exclude = venv,dist
docstring-convention = google
per-file-ignores =
setup.py:D
tests/*:S,D,RST,F401,F841
;constants.py:E501
search.py:E203
__main__.py:E,F
[darglint]
docstring_style = google
; ignore lxml typing, if used with stub files,
; it needs a lot of work to quieten all warnings
[mypy]
exclude = (?x)(
^examples/
| ^venv/
| ^docs/
| ^tests/
| ^setup.py$
)
[mypy-lxml]
ignore_missing_imports = True
[mypy-lxml.sax]
ignore_missing_imports = True
[tool:isort]
profile = black
force_single_line = True
line_length = 120
skip = venv,dist
[tool:pytest]
addopts =
-ra
-vv
--strict-markers
--doctest-modules
--doctest-glob=\*.rst
--tb=short
--cov
;--cov-report=term-missing
python_files =
test_*.py
*_test.py
tests.py
testpaths =
tests
[build_sphinx]
source_dir = docs
build_dir = dist/docs