-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
72 lines (58 loc) · 1.38 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
[metadata]
name = dapc
version = attr: dapc.__version__
description = patent classifier
long_description = file: README.md
author = Dimitrios Christofidellis and Matteo Manica
keywords = patent classifier transformers cnn adapters
python_requires = >= 3.7.*
classifiers =
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
[options]
install_requires =
spacy
spacy-langdetect
loguru
numpy
torch
transformers
sklearn
adapter-transformers
nltk
setup_requires =
setuptools
package_dir=
=src
packages=find_namespace:
[options.packages.find]
where=src
[flake8]
max-line-length = 80
select = C,E,F,W,B,B950
ignore = E203, E501, W503
exclude = .git,__pycache__,.mypy_cache,.pytest_cache,.venv, venv
[mypy]
check_untyped_defs = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-loguru.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-transformers.*]
ignore_missing_imports = True
# to avoid mypy from crashing (https://github.com/python/mypy/issues/11045)
[mypy-transformers.trainer]
check_untyped_defs = False
[mypy-torch.*]
ignore_missing_imports = True
[mypy-xmltodict.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-tokenizers.*]
ignore_missing_imports = True