kombu/setup.cfg

85 lines
2.1 KiB
INI
Raw Normal View History

[tool:pytest]
2016-08-23 19:52:14 +00:00
testpaths = t/unit/
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.
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
[isort]
add_imports =
from __future__ import annotations
[mypy]
warn_unused_configs = True
strict = False
follow_imports = skip
show_error_codes = True
disallow_untyped_defs = True
ignore_missing_imports = True
files =
kombu/abstract.py,
kombu/utils/debug.py,
kombu/utils/time.py,
kombu/utils/uuid.py,
t/unit/utils/test_uuid.py,
kombu/utils/text.py,
kombu/exceptions.py,
t/unit/test_exceptions.py,
kombu/clocks.py,
t/unit/test_clocks.py,
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,
kombu/asynchronous/aws/sqs/__init__.py,
2022-07-03 07:15:40 +00:00
kombu/asynchronous/aws/sqs/ext.py,
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,
kombu/asynchronous/semaphore.py
2016-10-11 20:33:10 +00:00
[pep257]
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
[metadata]
license_file = LICENSE