|
a |
|
b/pyproject.toml |
|
|
1 |
[tool.poetry] |
|
|
2 |
name = "deduce" |
|
|
3 |
version = "3.0.3" |
|
|
4 |
description = "Deduce: de-identification method for Dutch medical text" |
|
|
5 |
authors = ["Vincent Menger <vmenger@protonmail.com>"] |
|
|
6 |
maintainers = ["Vincent Menger <vmenger@protonmail.com>"] |
|
|
7 |
license = "LGPL-3.0-or-later" |
|
|
8 |
readme = "README.md" |
|
|
9 |
repository = "https://github.com/vmenger/deduce/" |
|
|
10 |
keywords = ["de-identification", "clinical text", "dutch", "nlp"] |
|
|
11 |
classifiers = [ |
|
|
12 |
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", |
|
|
13 |
"Topic :: Software Development :: Libraries :: Python Modules", |
|
|
14 |
"Programming Language :: Python", |
|
|
15 |
"Programming Language :: Python :: 3.9", |
|
|
16 |
"Programming Language :: Python :: 3.10", |
|
|
17 |
"Programming Language :: Python :: 3.11", |
|
|
18 |
"Topic :: Software Development :: Pre-processors", |
|
|
19 |
"Topic :: Text Processing", |
|
|
20 |
"Topic :: Text Processing :: Linguistic", |
|
|
21 |
] |
|
|
22 |
include = ["base_config.json"] |
|
|
23 |
|
|
|
24 |
[tool.sphinx] |
|
|
25 |
author = "Vincent Menger" |
|
|
26 |
|
|
|
27 |
[tool.poetry.dependencies] |
|
|
28 |
python = "^3.9" |
|
|
29 |
rapidfuzz = "^2.11.1" |
|
|
30 |
docdeid = "1.0.0" |
|
|
31 |
regex = "^2022.9.13" |
|
|
32 |
frozendict = "^2.3.10" |
|
|
33 |
|
|
|
34 |
[tool.poetry.group.dev] |
|
|
35 |
optional = false |
|
|
36 |
|
|
|
37 |
[tool.poetry.group.dev.dependencies] |
|
|
38 |
pytest = "^7.1.3" |
|
|
39 |
pytest-cov = "^4.0.0" |
|
|
40 |
black = "^22.10.0" |
|
|
41 |
isort = "^5.10.1" |
|
|
42 |
docformatter = "^1.5.0" |
|
|
43 |
flake8 = "^5.0.4" |
|
|
44 |
flake8-pyproject = "^1.2.3" |
|
|
45 |
flake8-annotations = "^3.0.1" |
|
|
46 |
pylint = "^3.0.1" |
|
|
47 |
|
|
|
48 |
[tool.poetry.group.docs.dependencies] |
|
|
49 |
toml = "^0.10.2" |
|
|
50 |
sphinx = "^5.3.0" |
|
|
51 |
myst-parser = "^0.18.1" |
|
|
52 |
karma-sphinx-theme = "^0.0.8" |
|
|
53 |
emoji = "^2.9.0" |
|
|
54 |
|
|
|
55 |
[build-system] |
|
|
56 |
requires = ["poetry-core>=1.0.0"] |
|
|
57 |
build-backend = "poetry.core.masonry.api" |
|
|
58 |
|
|
|
59 |
[tool.black] |
|
|
60 |
line-length = 88 |
|
|
61 |
|
|
|
62 |
[tool.isort] |
|
|
63 |
profile = "black" |
|
|
64 |
|
|
|
65 |
[tool.docformatter] |
|
|
66 |
recursive = true |
|
|
67 |
in-place = true |
|
|
68 |
black = true |
|
|
69 |
pre-summary-newline = true |
|
|
70 |
|
|
|
71 |
[tool.flake8] |
|
|
72 |
max-line-length = 88 |
|
|
73 |
extend-ignore = ['E203', 'ANN101', 'ANN102', 'ANN002', 'ANN003', 'DC100'] |
|
|
74 |
per-file-ignores = [ |
|
|
75 |
'__init__.py:F401', |
|
|
76 |
'tests/*:ANN,DC', |
|
|
77 |
] |
|
|
78 |
|
|
|
79 |
[tool.pylint] |
|
|
80 |
disable = ['C0114'] |
|
|
81 |
|
|
|
82 |
[tool.pytest.ini_options] |
|
|
83 |
testpaths = ["tests"] |
|
|
84 |
addopts = "--cov=deduce --cov-fail-under=85" |