forked from pharmpy/pharmpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
40 lines (37 loc) · 1.22 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
[flake8]
# Set to 120 instead of 100 because black sometimes creates longer lines
max-line-length = 120
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
[tool:pytest]
doctest_optionflags = NORMALIZE_WHITESPACE
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
filterwarnings =
error
# Triggered by dateutil for Python 3.12
ignore:.*Use timezone-aware objects to represent datetime:DeprecationWarning:dateutil
# The following warnings are triggered by dask
ignore:unclosed <socket:ResourceWarning
ignore:unclosed event loop:ResourceWarning
ignore:unclosed context:ResourceWarning
ignore:.*Port .* is already in use:UserWarning:distributed
ignore:Creating .*directories is taking .*time:UserWarning:distributed
ignore:Couldn't detect .* IP address .* [Errno 51] .* unreachable:RuntimeWarning:distributed
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.
testpaths = tests
norecursedirs =
integration
testdata
tests/pytest_helper
.ropeproject
python_files = test_*.py
addopts =
-ra
--strict-markers
--doctest-modules
--doctest-glob=\*.rst
--tb=short
[darglint]
ignore=DAR401,DAR402