forked from DataBiosphere/toil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
39 lines (34 loc) · 902 Bytes
/
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
[tool:pytest]
# Look for any python file, the default of test_*.py wouldn't work for us
python_files=*.py
# Also run doctestsi
addopts = --doctest-modules --tb=native --assert=plain
norecursedirs=src/toil/test/cwl/spec*
[flake8]
# for compatability with the "black" Python code formatter
max-line-length = 88
select = C,E,F,W,B,B950
ignore = E203, E501, W503
[mypy]
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
warn_unused_configs = True
disallow_any_generics = True
disallow_subclassing_any = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
implicit_reexport = False
strict_equality = True
no_warn_no_return = True
[mypy-toil.cwl.*]
strict = True
[mypy-tes]
ignore_errors = True
follow_imports=skip