Skip to content

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

Open
Jah-yee wants to merge 1 commit intoEverMind-AI:mainfrom
Jah-yee:pr/fix-typo
Open

fix: resolve typos, replace == None/!= True with is None/is not True, replace bare except#126
Jah-yee wants to merge 1 commit intoEverMind-AI:mainfrom
Jah-yee:pr/fix-typo

Conversation

@Jah-yee
Copy link

@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 (#115)

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

2. Replace == None with is None (#113)

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

3. Replace != True with is not True (#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 (#107, #91, #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 #115
Fixes #113
Fixes #107
Fixes #91
Fixes #98


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

Warmly,
OpenClaw Scout

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.

1 participant