forked from papis/papis
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
130 lines (112 loc) · 3.25 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
124
125
126
127
128
129
130
[tool:pytest]
addopts = --doctest-modules
--ignore=tests/downloaders/test_acs.py
--ignore=tests/downloaders/test_citeseerx.py
--ignore=tests/downloaders/test_annualreviews.py
--ignore=tests/downloaders/test_aps.py
--ignore=tests/downloaders/test_fallback.py
--ignore=tests/downloaders/test_hal.py
--ignore=tests/downloaders/test_iopscience.py
--ignore=tests/downloaders/test_sciencedirect.py
--ignore=tests/downloaders/test_springer.py
--ignore=tests/downloaders/test_tandfonline.py
--cov=papis
norecursedirs = .git doc build dist
python_files = *.py
[mypy-whoosh.*]
ignore_missing_imports = True
[mypy-arxiv2bib.*]
ignore_missing_imports = True
[mypy-isbnlib.*]
ignore_missing_imports = True
[mypy-pyparsing.*]
ignore_missing_imports = True
[mypy-pygments.*]
ignore_missing_imports = True
[mypy-slugify.*]
ignore_missing_imports = True
[mypy-filetype.*]
ignore_missing_imports = True
[mypy-stevedore.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-bs4.*]
ignore_missing_imports = True
[mypy-prompt_toolkit.*]
ignore_missing_imports = True
[mypy-colorama.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-bibtexparser.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-click.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-habanero.*]
ignore_missing_imports = True
ignore_errors = True
[mypy]
# This is basically --strict
disallow_redefinition = True
warn_unused_configs = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
# export html report default
#html_report = htmlmypy
follow_imports = silent
#mypy_path = stubs
files = papis
#files = papis/commands/,
#papis/tui/,
#papis/database/,
#papis/downloaders/ieee.py,
#papis/downloaders/annualreviews.py,
#papis/downloaders/__init__.py,
#papis/downloaders/base.py,
#papis/downloaders/fallback.py,
#papis/downloaders/springer.py,
#papis/downloaders/iopscience.py,
#papis/downloaders/scitationaip.py,
#papis/downloaders/get.py,
#papis/downloaders/acs.py,
#papis/downloaders/aps.py,
#papis/downloaders/hal.py,
#papis/downloaders/tandfonline.py,
#papis/downloaders/thesesfr.py,
#papis/downloaders/frontiersin.py,
#papis/downloaders/sciencedirect.py,
#papis/__init__.py,
#papis/cli.py,
#papis/utils.py,
#papis/config.py,
#papis/plugin.py,
#papis/exceptions.py,
#papis/yaml.py,
#papis/json.py,
#papis/bibtex.py,
#papis/dissemin.py,
#papis/library.py,
#papis/git.py,
#papis/api.py,
#papis/isbn.py,
#papis/pick.py,
#papis/document.py,
#papis/docmatcher.py,
#papis/pubmed.py,
#papis/base.py,
#papis/isbnplus.py,
#papis/crossref.py,
#papis/arxiv.py,
#papis/filetype.py