From 9b2723e05440f52546bb3c160cacbfd7f3cddb3c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Apr 2026 07:38:39 +0000 Subject: fix: resolve 18 failing CI checks (pip version, macOS ARM, flake8 E721) Agent-Logs-Url: https://github.com/luciferreeves/edify/sessions/e7f51b79-93cc-48ac-bcc0-db3ca7b27a85 Co-authored-by: luciferreeves <30593201+luciferreeves@users.noreply.github.com> --- src/edify/builder/helpers/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/edify/builder/helpers/core.py b/src/edify/builder/helpers/core.py index f8cabe3..38e8929 100644 --- a/src/edify/builder/helpers/core.py +++ b/src/edify/builder/helpers/core.py @@ -47,9 +47,9 @@ def apply_subexpression_defaults(expr): out['namespace'] = "" if 'namespace' not in out else out['namespace'] out['ignore_flags'] = True if 'ignore_flags' not in out else out['ignore_flags'] out['ignore_start_and_end'] = True if 'ignore_start_and_end' not in out else out['ignore_start_and_end'] - assertion(type(out['namespace']) == str, 'namespace must be a string') - assertion(type(out['ignore_flags']) == bool, 'ignore_flags must be a boolean') - assertion(type(out['ignore_start_and_end']) == bool, 'ignore_start_and_end must be a boolean') + assertion(isinstance(out['namespace'], str), 'namespace must be a string') + assertion(isinstance(out['ignore_flags'], bool), 'ignore_flags must be a boolean') + assertion(isinstance(out['ignore_start_and_end'], bool), 'ignore_start_and_end must be a boolean') return out -- cgit v1.2.3