-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
121 lines (111 loc) · 2.36 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
[bdist_wheel]
universal = 1
[metadata]
name = cql-parser
version = 1.0.2
author = Erik Körner
author_email = "Erik Körner" <[email protected]>
description = "CQL (Contextual Query Language) Parser"
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
classifiers =
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: YACC
Topic :: Text Processing :: General
Topic :: Utilities
keywords =
CQL
CLARIN
Query Parser
url = https://github.com/Querela/cql-python/
project_urls =
Source = https://github.com/Querela/cql-python/
Issue Tracker = https://github.com/Querela/cql-python/issues
[options]
zip_safe = True
include_package_data = True
package_dir =
=src
packages =
cql
cql._vendor.ply
python_requires = >=3.8
[options.package_data]
cql =
py.typed
[options.extras_require]
test =
pytest
pytest-cov
pytest-clarity
pytest-randomly
style =
black
flake8
isort
mypy
vendor =
vendoring
build =
build
twine
[flake8]
max-line-length = 140
exclude = venv,dist,src/cql/_vendor
docstring-convention = google
per-file-ignores =
setup.py:D
tests/*:S,D,RST,F401,F841
__main__.py:E,F
[darglint]
docstring_style = google
[mypy]
exclude = (?x)(
^examples/
| ^venv/
| ^docs/
| ^tests/
| ^setup.py$
| ^src/cql/_vendor/
)
[mypy-ply]
ignore_missing_imports = True
[mypy-ply.lex]
ignore_missing_imports = True
[mypy-ply.yacc]
ignore_missing_imports = True
[tool:isort]
force_single_line = True
line_length = 120
known_first_party = cql
default_section = THIRDPARTY
forced_separate = test_cql
skip = venv,dist,src/cql/_vendor
[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
; black is configured in the pyproject.toml file