X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=setup.cfg;fp=setup.cfg;h=1c524c6902854e8ec64e694f3ed1a75d6617073a;hp=9a58dd3cf6812ae271139dc0e78da87c4c627f1e;hb=578f3d7758a335fd0405d55b5b17e18948a32f10;hpb=75daa1081c5cfee4197203dc826f30f58174fbac diff --git a/setup.cfg b/setup.cfg index 9a58dd3c..1c524c69 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