-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
pyproject.toml
76 lines (65 loc) · 1.71 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "conllu"
version = "6.0.0"
description = "CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary"
readme = "README.md"
requires-python = ">=3.8"
authors = [{name = "Emil Stenström", email = "[email protected]"}]
license = {file = "LICENSE"}
keywords = ["conllu", "conll", "conll-u", "parser", "nlp"]
classifiers = [
"Programming Language :: Python",
"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",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/EmilStenstrom/conllu/"
[project.optional-dependencies]
test = ["tox"]
[tool.setuptools.packages.find]
where = ["."]
include = ["conllu"]
namespaces = false
[tool.setuptools.package-data]
"conllu" = ["py.typed"]
[tool.pytest.ini_options]
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
]
[tool.flake8]
ignore = "E302, W503"
max-line-length = 119
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"def __repr__",
'if T\.TYPE_CHECKING',
'TT\.Protocol',
]
[tool.coverage.run]
branch = true
source = ["conllu"]
omit = [
"conllu/__init__.py",
]
[tool.isort]
line_length = 119
multi_line_output = 5
include_trailing_comma = true
known_first_party = ["conllu", "tests"]
[tool.mypy]
check_untyped_defs = true
exclude = [
'tests',
'build',
]