-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
124 lines (102 loc) · 3.01 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
[tool:pytest]
addopts = --cov=. --cov-report=term --cov-report=html
[mypy]
# mypy_path = ...
files = dicountries
ignore_missing_imports = True
allow_redefinition = True
html_report = mypy_coverage/html_report
txt_report = mypy_coverage/txt_report
any_exprs_report = mypy_coverage/any_exprs_report
linecount_report = mypy_coverage/linecount_report
lineprecision_report = mypy_coverage/lineprecision_report
[pylint]
paths=dicountries,tests
ignore=.nox
good-names=i,j,k,ex,Run,_,f,v,db,x,y,z,ix,e,d,s,q,qp,t,n,m,r,u,p,h,c,np,pd,plt,T,V,U,W,w
max-line-length=100
disable=bad-continuation
[flake8]
ignore = D203,D107
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist,.nox
max-complexity = 10
max-line-length=100
docstring-convention=google
radon-show-closures=true
[radon]
cc_min = B
[isort]
src_paths=dilibraries,tests,setup.py
line_length=100
multi_line_output=3
force_grid_wrap=2
[bandit]
targets = dicountries
[coverage:run]
branch = True
omit =
.nox/*
*/.local/*
/usr/*
tests/*
[coverage:html]
directory = code_coverage
[tool:brunette]
line-length = 100
verbose = true
single-quotes = true
[proselint]
paths=docs/build/
[vale]
styles=proselint,Google,Microsoft,write-good,Joblint
paths=dicountries,tests,docs/source,README.md
# globs=*.py
[docs]
## extra_modules - List of extra modules to install with pip (list or comma separated string).
## Empty by default
extra_modules=
# skip=true
## langs - List of languages to generate documentation (list or comma separated string).
# langs=en
## engines - List of engines to generate documentation (list or comma separated string).
## Default: html,linkcheck,doc_coverage,text
# engines=html,dipdf,linkcheck,doc_coverage,text
# engines=
## make_targets - Optional list of targets in make file to use (list or comma separated string).
## Empty by default
# make_targets=
## sources - List of source modules to document (list or comma separated string).
sources=dicountries
## autoapi_dirs - List of directories for autoapi extension (if autoapi is used).
## (list or comma separated string).
## To install autoapi use extra_modules=sphinx-autoapi
## To use autoapi also adjust index.rst:
## .. toctree::
## :maxdepth: 3
## :caption: References
## :glob:
##
## autoapi/*
# autoapi_dirs = dicountries
## dipdf_base - engine to generate pdf documentation using dipdf target
## dipdf_base should be one of: latex, rinoh, rst2pdf
## Default: latex
## latex engine needs latex tools and packages installation (very big)
## rinoh has AGPL license (source code should be published)
## rst2pdf has limited support for sphinx rst extensions
## rst2pdf target also returns 0 (success) on errors
# dipdf_base=latex
## tlmgr_extra - extra packages to install with tlmgr (for the latex)
## These packages should be installed by default:
## latex-recommended collection-latexrecommended
## latex-extra collection-latexextra
## fonts-recommended collection-fontsrecommended
# tlmgr_extra=
[pytype]
inputs =
dicountries
tests
# [test]
# skip=true
# [qa_check]
# skip=true