X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=setup.cfg;h=7788df8ac1bba8fcb4c892840c42a0cf1e0fbb3c;hb=7747a39ff4d33f722737ff57a1a3b69cca97909a;hp=9a58dd3cf6812ae271139dc0e78da87c4c627f1e;hpb=f641029a30fc8d40a6d178541aad910593a49c7a;p=babeltrace.git diff --git a/setup.cfg b/setup.cfg index 9a58dd3c..7788df8a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,8 +4,13 @@ # formatting) ignore = E501,W503 -# __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/tap tests/utils/python/typing/typing.py