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
|
[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*
# List all the pytest markers that we use. If you add new markers make sure to
# list them here.
markers =
appliance
aws-batch
aws-ec2
aws-s3
celery
cwl
docker
docker_cuda
encryption
fetchable_appliance
google-project
google-storage
gridengine
htcondor
integrative
java
kubernetes
local_cuda
lsf
mesos
online
rsync
server_mode
slow
slurm
singularity
torque
wes_server
cwl_small_log_dir
cwl_small
wdl
[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
|