Fix: Windows DLL path lookup with Python >= 3.8
[babeltrace.git] / setup.cfg
index 9a58dd3cf6812ae271139dc0e78da87c4c627f1e..1c524c6902854e8ec64e694f3ed1a75d6617073a 100644 (file)
--- 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
This page took 0.022542 seconds and 4 git commands to generate.