X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=setup.cfg;h=02702a12cc992342aa272e0ec0cd19ca95f01630;hb=a11f4e1001b9dcf20e4ce62d6c945a4869b0b317;hp=9a58dd3cf6812ae271139dc0e78da87c4c627f1e;hpb=f641029a30fc8d40a6d178541aad910593a49c7a;p=babeltrace.git diff --git a/setup.cfg b/setup.cfg index 9a58dd3c..02702a12 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,10 +2,16 @@ # E501: line too long # W503: line break before binary operator (conflicts with black's way of # formatting) -ignore = E501,W503 +# E203: Whitespace before ':' (conclicts with black's way of formatting) +ignore = E501,W503,E203 -# __init__.py has a bunch of (expectedly) unused imports, so disable that -# warning for this file. -per-file-ignores = src/bindings/python/bt2/bt2/__init__.py:F401 +# Disabled warnings for `bt2/__init__.py`: +# +# F401: +# Has a bunch of (expectedly) unused imports. +# +# E402: +# Has code to set up the DLL search path before imports. +per-file-ignores = src/bindings/python/bt2/bt2/__init__.py:F401,E402 -exclude = tests/utils/python/tap +exclude = tests/utils/python/normand.py tests/utils/python/tap tests/utils/python/typing/typing.py