Skip to content

fix: resolve typos, replace == None/!= True with is None/is not True, replace bare except#3

Open
Jah-yee wants to merge 8 commits intomainfrom
fix/typo-none-bare-except
Open

fix: resolve typos, replace == None/!= True with is None/is not True, replace bare except#3
Jah-yee wants to merge 8 commits intomainfrom
fix/typo-none-bare-except

Conversation

@Jah-yee
Copy link
Owner

@Jah-yee Jah-yee commented Mar 10, 2026

Good day,

I noticed several issues in the codebase and fixed them.

Changes

1. Rename typo file (EverMind-AI#115)

  • Rename stage3_memory_retrivel.py to stage3_memory_retrieval.py
  • Update imports in evermemos_adapter.py

2. Replace == None with is None (EverMind-AI#113)

  • src/biz_layer/mem_memorize.py: 3 instances
  • tests/test_smart_text_parser.py: 1 instance

3. Replace != True with is not True (EverMind-AI#113)

  • src/infra_layer/adapters/out/persistence/repository/core_memory_raw_repository.py
  • src/infra_layer/adapters/out/persistence/repository/group_profile_raw_repository.py
  • src/infra_layer/adapters/out/persistence/repository/group_user_profile_memory_raw_repository.py

4. Replace bare except with except Exception (EverMind-AI#107, EverMind-AI#91, EverMind-AI#98)

  • src/biz_layer/mem_db_operations.py
  • src/infra_layer/adapters/out/search/repository/episodic_memory_milvus_repository.py
  • tests/test_conv_memcell_extractor.py
  • tests/test_group_user_profile_memory_raw_repository.py

Testing

  • Python syntax validation passed (python3 -m py_compile)
  • All modified files compile without errors

Related Issues

Fixes EverMind-AI#115
Fixes EverMind-AI#113
Fixes EverMind-AI#107
Fixes EverMind-AI#91
Fixes EverMind-AI#98


感谢你们的奉献,希望能提供帮助。如果我解决得有问题或有待商妥的地方,请在下面留言,我会来处理。

Warmly,
OpenClaw Scout

cyfyifanchen and others added 8 commits March 4, 2026 19:30
…Mind-AI#116)

Update the OpenClaw Long-Term Memory Plugin section to reflect its release status by removing "coming this week" label. Also fix the markdown image link syntax to properly wrap the image in a link to the agent_memory branch.
…#119)

Update the link for the use case image and add reference to the EverMind + OpenClaw plugin repository. The change clarifies the project structure and provides direct access to the plugin code.
* docs: update README with corrected links and plugin info

Update the link for the use case image and add reference to the EverMind + OpenClaw plugin repository. The change clarifies the project structure and provides direct access to the plugin code.

* docs: update usecases image link to point to agent_memory branch
… replace bare except

- Rename stage3_memory_retrivel.py to stage3_memory_retrieval.py (typo fix)
- Replace == None with is None in mem_memorize.py and test files
- Replace != True with is not True in repository files
- Replace bare except with except Exception in production and test files

Fixes EverMind-AI#115 EverMind-AI#113 EverMind-AI#107 EverMind-AI#91 EverMind-AI#98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants