Repository URL to install this package:
|
Version:
2022.10.0 ▾
|
distributed
/
setup.cfg
|
|---|
[flake8]
exclude = __init__.py,versioneer.py,distributed/_concurrent_futures_thread.py
extend-select = B950
ignore =
E203, # Whitespace before ':'
E266, # Too many leading '#' for block comment
E501, # Line too long, ignored in favor of B950
W503, # Line break occurred before a binary operator
per-file-ignores =
**/tests/*:
E402,
E741,
F841,
B011,
max-line-length = 80
[isort]
sections = FUTURE,STDLIB,THIRDPARTY,DISTRIBUTED,FIRSTPARTY,LOCALFOLDER
profile = black
skip_gitignore = true
force_to_top = true
default_section = THIRDPARTY
known_first_party = distributed
known_distributed = dask,zict
add_imports = from __future__ import annotations
[versioneer]
VCS = git
style = pep440
versionfile_source = distributed/_version.py
versionfile_build = distributed/_version.py
tag_prefix =
parentdir_prefix = distributed-
[tool:pytest]
addopts =
-v -rsxfE
--durations=20
--color=yes
--ignore=continuous_integration
--ignore=docs
--ignore=.github
--strict-markers
--strict-config
-p no:asyncio
filterwarnings =
error
ignore:Please use `dok_matrix` from the `scipy\.sparse` namespace, the `scipy\.sparse\.dok` namespace is deprecated.:DeprecationWarning
ignore:elementwise comparison failed. this will raise an error in the future:DeprecationWarning
ignore:unclosed <socket\.socket.*:ResourceWarning
ignore:unclosed context <zmq\.asyncio\.Context\(\).*:ResourceWarning
ignore:unclosed event loop <_(Unix|Windows)SelectorEventLoop.*:ResourceWarning
ignore:unclosed file <_io.BufferedWriter.*:ResourceWarning
ignore:unclosed file <_io.TextIOWrapper.*:ResourceWarning
ignore:unclosed transport <_SelectorSocketTransport.*:ResourceWarning
ignore:unclosed transport <asyncio\.sslproto\..*:ResourceWarning
ignore:unclosed cluster SSHCluster.*:ResourceWarning
ignore:Couldn't detect a suitable IP address for reaching '2001.4860.4860..8888', defaulting to hostname. \[Errno 65\] No route to host:RuntimeWarning
ignore:Dashboard and Scheduler are using the same server on port.*:RuntimeWarning
ignore:coroutine 'BaseTCPConnector.connect' was never awaited:RuntimeWarning
ignore:coroutine 'Client\._start' was never awaited:RuntimeWarning
ignore:coroutine 'ConnectionPool._connect' was never awaited:RuntimeWarning
ignore:coroutine 'PooledRPCCall\.__getattr__\.<locals>\.send_recv_from_rpc' was never awaited:RuntimeWarning
ignore:coroutine 'Scheduler\.restart' was never awaited:RuntimeWarning
ignore:coroutine 'Semaphore._refresh_leases' was never awaited:RuntimeWarning
ignore:coroutine 'ServerSession\.with_document_locked' was never awaited
ignore:overflow encountered in long_scalars:RuntimeWarning
ignore:Creating scratch directories is taking a surprisingly long time.*:UserWarning
ignore:Scheduler already contains a plugin with name nonidempotentplugin. overwriting:UserWarning
ignore:Increasing number of chunks by factor of 20:dask.array.core.PerformanceWarning
ignore::distributed.versions.VersionMismatchWarning
ignore:(?s)Exception in thread.*old_ssh.*channel\.send\(b"\\x03"\).*Socket is closed:pytest.PytestUnhandledThreadExceptionWarning
ignore:(?s)Exception in thread.*paramiko\.ssh_exception\.NoValidConnectionsError:pytest.PytestUnhandledThreadExceptionWarning
ignore:(?s)Exception ignored in. <Finalize object, dead>.*sem_unlink.*FileNotFoundError:pytest.PytestUnraisableExceptionWarning
ignore:(?s)Exception ignored in. <coroutine object Scheduler\.add_worker.*in handle_worker.*Event loop is closed:pytest.PytestUnraisableExceptionWarning
ignore:(?s)Exception ignored in. <function Client\.__del__.*RuntimeError. IOLoop is closed:pytest.PytestUnraisableExceptionWarning
ignore:notifyAll\(\) is deprecated, use notify_all\(\) instead:DeprecationWarning:paramiko
ignore:setDaemon\(\) is deprecated, set the daemon attribute instead:DeprecationWarning:paramiko
minversion = 6
markers =
ci1: marks tests as belonging to 1 out of 2 partitions to run on CI ('-m "not ci1"' for second partition)
slow: marks tests as slow (deselected by default; select with '--runslow')
avoid_ci: marks tests as flaky or broken on CI on all OSs
ipython: marks tests as exercising IPython
gpu: marks tests we want to run on GPUs
leaking: ignore leaked resources; see pytest_resourceleaks.py for usage
workerstate: deterministic test for the worker state machine. Automatically applied to all tests that use the 'ws' fixture.
timeout_method = thread
timeout = 300
[mypy]
python_version = 3.9
platform = linux
allow_incomplete_defs = false
allow_untyped_decorators = false
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
[mypy-distributed.client]
allow_incomplete_defs = true
[mypy-distributed.scheduler]
allow_incomplete_defs = true
[mypy-distributed.worker]
allow_incomplete_defs = true
[mypy-distributed.active_memory_manager]
allow_untyped_defs = false
[mypy-distributed.system_monitor]
allow_untyped_defs = false
[mypy-distributed.worker_memory]
allow_untyped_defs = false
[mypy-distributed.worker_state_machine]
allow_untyped_defs = false
[egg_info]
tag_build =
tag_date = 0