-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
65 lines (54 loc) · 1.48 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
; Metadata
[metadata]
name = minder-synistree
version = attr: minder.__version__
author = Jon Hannah
author_email = [email protected]
description = Simple discord.py bot for helping with remembering things
url = https://github.com/synistree/minder
[options]
package_dir =
= src
packages = find:
python_requires = >=3.8
package_data =
redisent = py.typed
[options.packages.find]
where = src
; Flake8
[flake8]
exclude = docs,build
max-line-length = 160
rst-roles =
attr,class,func,meth,mod,obj,ref,term,
# Python programming language:
py:func,py:meth,py:mod,py:class,py:exc,py:attr,py:obj,py:const
; pytest
[tool:pytest]
addopts = --cov=minder --cov-config=setup.cfg --cov-report=term --cov-report=html:./report/pycov
testpaths = testing/
junit_family=xunit1
mocked-engines=minder.web.model.db.engine
mocked-sessions=minder.web.model.db.session
; cov
[coverage:report]
fail_under = 25
show_missing = true
[coverage:run]
branch = true
omit = testing/*,.venv/*
[paths]
source = src/minder/
; mypy
[mypy]
mypy_path = src/minder/:stubs
;warn_return_any = true
show_error_codes = true
namespace_packages = true
[mypy-setuptools.*,apscheduler.*,humanize.*,cogwatch.*,IPython.*,discord_slash.*,flask_sqlalchemy.*,flask_bootstrap.*,aiohttp_debugtoolbar.*]
ignore_missing_imports = True
[mypy-flask_login.*,flask_pretty.*,flask_moment.*,flask_wtf.*,wtforms.*,pytz.*,discord.ext.menus.*,recommonmark.*,sphinx_rtd_theme.*]
ignore_missing_imports = True
; tox
[tox]
skip_missing_interpreters = true