diff options
| author | copilot-swe-agent[bot] <[email protected]> | 2026-04-28 07:38:39 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-28 07:38:39 +0000 |
| commit | 9b2723e05440f52546bb3c160cacbfd7f3cddb3c (patch) | |
| tree | 002177e12347c882e3cd0f91af65e30ee33466ac /src | |
| parent | 54ad38da225aeb0563f060f879502b622f08e9f5 (diff) | |
| download | edify-9b2723e05440f52546bb3c160cacbfd7f3cddb3c.tar.xz edify-9b2723e05440f52546bb3c160cacbfd7f3cddb3c.zip | |
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 <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/edify/builder/helpers/core.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
