Skip to content

Commit 30aef8d

Browse files
committed
Update setup.cfg from template
1 parent 652e8af commit 30aef8d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

setup.cfg

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ docstring-convention = google
3030
python_version = 3.6
3131
ignore_missing_imports = True
3232
disallow_untyped_defs = True
33+
# html_report=mypyhtml
3334
# follow_imports = skip
3435

3536
[isort]
36-
known_first_party = template_package
3737
#profile=black
3838
# https://black.readthedocs.io/en/stable/compatible_configs.html
3939
multi_line_output = 3
@@ -42,7 +42,9 @@ force_grid_wrap = 0
4242
use_parentheses = True
4343
ensure_newline_before_comments = True
4444
line_length = 88
45-
45+
known_first_party =
46+
lazydocs
47+
tests
4648

4749
[pylint]
4850
max-line-length = 88
@@ -62,5 +64,12 @@ convention = google
6264
# D202: No blank lines allowed after function docstring
6365
add_ignore = D100,D101,D102,D103,D104,D105,D107,D202
6466

67+
[coverage:run]
68+
source=src/*
69+
omit=tests/*
70+
6571
[tool:pytest]
66-
# markers = slow
72+
markers =
73+
slow: marks tests as slow (deselect with '-m "not slow"')
74+
testpaths = tests
75+
addopts = --cov=src --cov-append --cov-config=setup.cfg --cov-report=xml --cov-report term --cov-report=html

0 commit comments

Comments
 (0)