-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.cfg
46 lines (39 loc) · 1.31 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
[metadata]
license_files = LICENSE
[options.package_data]
rdflib_leveldb = py.typed
[flake8]
ignore = W806
max-line-length = 88
exclude = host,extras,transform,results,pyMicrodata
[coverage:run]
branch = True
source = rdflib_leveldb
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
if __name__==.__main__.:
[mypy]
python_version = 3.8
warn_unused_configs = True
ignore_missing_imports = True
disallow_subclassing_any = False
warn_unreachable = True
[tool:pytest]
addopts =
--doctest-modules
--ignore-glob=test/pending/*.py
--ignore-glob=docs/*.py
doctest_optionflags = ALLOW_UNICODE
log_cli=true
log_level=DEBUG
filterwarnings =
# The below warning is a consequence of how pytest doctest detects mocks and how DefinedNamespace behaves when an undefined attribute is being accessed.
ignore:Code. pytest_mock_example_attribute_that_shouldnt_exist is not defined in namespace .*:UserWarning
# The below warning is a consequence of how pytest detects fixtures and how DefinedNamespace behaves when an undefined attribute is being accessed.
ignore:Code. _pytestfixturefunction is not defined in namespace .*:UserWarning