requirements-dev: use black 23.12.1 and ruff 0.1.9
[buildbot.git] / phase2 / master.cfg
index deebc2894b5808706400b0ccafccad5c88800f0a..007bc1123349162b0656dc825de635d46463f4bb 100644 (file)
@@ -280,7 +280,7 @@ def IsArchitectureSelected(target):
        def CheckArchitectureProperty(step):
                try:
                        options = step.getProperty("options")
-                       if type(options) is dict:
+                       if isinstance(options, dict):
                                selected_arch = options.get("architecture", "all")
                                if selected_arch != "all" and selected_arch != target:
                                        return False