-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
74 lines (64 loc) · 1.46 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
[versioneer]
VCS = git
style = pep440
versionfile_source = kanren/_version.py
versionfile_build = kanren/_version.py
tag_prefix = v
parentdir_prefix = kanren-
[pydocstyle]
# Ignore errors for missing docstrings.
# Ignore D202 (No blank lines allowed after function docstring)
# due to bug in black: https://github.com/ambv/black/issues/355
add-ignore = D100,D101,D102,D103,D104,D105,D106,D107,D202
convention = numpy
[tool:pytest]
python_files=test*.py
testpaths=tests
[coverage:run]
relative_files = True
omit =
kanren/_version.py
tests/*
branch = True
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise TypeError
return NotImplemented
raise NotImplementedError
if __name__ == .__main__.:
assert False
show_missing = 1
[isort]
profile = black
lines_after_imports = 2
lines_between_sections = 1
honor_noqa = True
skip_gitignore = True
[flake8]
max-line-length = 88
extend-ignore = E203, W503
per-file-ignores =
**/__init__.py:F401,E402,F403
[pylint]
max-line-length = 88
[pylint.messages_control]
disable = C0330, C0326
[mypy]
ignore_missing_imports = True
no_implicit_optional = True
check_untyped_defs = False
strict_equality = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
warn_return_any = True
warn_no_return = False
warn_unreachable = True
show_error_codes = True
allow_redefinition = False
files = kanren,tests
[mypy-versioneer]
check_untyped_defs = False