2016-08-22 18:17:59 +00:00
|
|
|
[tool:pytest]
|
2016-08-23 19:52:14 +00:00
|
|
|
testpaths = t/unit/
|
2016-08-22 18:17:59 +00:00
|
|
|
python_classes = test_*
|
2010-06-23 10:08:39 +00:00
|
|
|
|
|
|
|
[build_sphinx]
|
|
|
|
source-dir = docs/
|
2016-04-07 22:59:26 +00:00
|
|
|
build-dir = docs/_build
|
2010-06-23 10:08:39 +00:00
|
|
|
all_files = 1
|
|
|
|
|
2016-10-11 19:33:31 +00:00
|
|
|
[flake8]
|
|
|
|
# classes can be lowercase, arguments and variables can be uppercase
|
|
|
|
# whenever it makes the code more readable.
|
2024-10-12 18:17:55 +00:00
|
|
|
max-line-length = 117
|
|
|
|
extend-ignore =
|
|
|
|
# classes can be lowercase, arguments and variables can be uppercase
|
|
|
|
# whenever it makes the code more readable.
|
|
|
|
W504, N806, N802, N801, N803
|
|
|
|
# incompatible with black https://github.com/psf/black/issues/315#issuecomment-395457972
|
|
|
|
E203,
|
|
|
|
# Missing docstring in public method
|
|
|
|
D102,
|
|
|
|
# Missing docstring in public package
|
|
|
|
D104,
|
|
|
|
# Missing docstring in magic method
|
|
|
|
D105,
|
|
|
|
# Missing docstring in __init__
|
|
|
|
D107,
|
|
|
|
# First line should be in imperative mood; try rephrasing
|
|
|
|
D401,
|
|
|
|
# No blank lines allowed between a section header and its content
|
|
|
|
D412,
|
|
|
|
# ambiguous variable name '...'
|
|
|
|
E741,
|
|
|
|
# ambiguous class definition '...'
|
|
|
|
E742,
|
|
|
|
per-file-ignores =
|
|
|
|
t/*,setup.py,examples/*,docs/*,extra/*:
|
|
|
|
# docstrings
|
|
|
|
D,
|
2016-10-11 19:33:31 +00:00
|
|
|
|
2022-04-14 11:02:52 +00:00
|
|
|
[isort]
|
|
|
|
add_imports =
|
|
|
|
from __future__ import annotations
|
|
|
|
|
2022-04-09 06:05:57 +00:00
|
|
|
[mypy]
|
|
|
|
warn_unused_configs = True
|
|
|
|
strict = False
|
|
|
|
follow_imports = skip
|
|
|
|
show_error_codes = True
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
ignore_missing_imports = True
|
|
|
|
files =
|
2022-05-15 07:17:49 +00:00
|
|
|
kombu/abstract.py,
|
2024-06-03 23:24:30 +00:00
|
|
|
kombu/utils/debug.py,
|
2024-12-20 14:35:22 +00:00
|
|
|
kombu/utils/encoding.py,
|
2022-04-09 18:42:01 +00:00
|
|
|
kombu/utils/time.py,
|
2022-04-12 14:39:42 +00:00
|
|
|
kombu/utils/uuid.py,
|
|
|
|
t/unit/utils/test_uuid.py,
|
|
|
|
kombu/utils/text.py,
|
2022-04-18 12:52:26 +00:00
|
|
|
kombu/exceptions.py,
|
|
|
|
t/unit/test_exceptions.py,
|
|
|
|
kombu/clocks.py,
|
|
|
|
t/unit/test_clocks.py,
|
2022-04-14 05:10:01 +00:00
|
|
|
kombu/__init__.py,
|
|
|
|
kombu/asynchronous/__init__.py,
|
|
|
|
kombu/asynchronous/aws/__init__.py,
|
2022-07-03 07:15:40 +00:00
|
|
|
kombu/asynchronous/aws/ext.py,
|
2022-04-14 05:10:01 +00:00
|
|
|
kombu/asynchronous/aws/sqs/__init__.py,
|
2022-07-03 07:15:40 +00:00
|
|
|
kombu/asynchronous/aws/sqs/ext.py,
|
2022-04-14 05:10:01 +00:00
|
|
|
kombu/asynchronous/http/__init__.py,
|
|
|
|
kombu/transport/__init__.py,
|
|
|
|
kombu/transport/virtual/__init__.py,
|
|
|
|
kombu/utils/__init__.py,
|
2022-06-03 06:43:36 +00:00
|
|
|
kombu/matcher.py,
|
2022-04-09 18:42:01 +00:00
|
|
|
kombu/asynchronous/semaphore.py
|
2022-04-09 06:05:57 +00:00
|
|
|
|
2022-04-12 14:39:42 +00:00
|
|
|
|
2016-10-11 20:33:10 +00:00
|
|
|
[pep257]
|
2023-05-15 02:11:34 +00:00
|
|
|
ignore = D102,D107,D104,D203,D105,D213,D401,D413,D417
|
2016-10-11 20:33:10 +00:00
|
|
|
|
2010-06-23 10:08:39 +00:00
|
|
|
[bdist_rpm]
|
2020-09-06 15:51:04 +00:00
|
|
|
requires = amqp >= 5.
|
2014-06-02 16:48:37 +00:00
|
|
|
|
2017-10-16 06:10:27 +00:00
|
|
|
[metadata]
|
|
|
|
license_file = LICENSE
|