Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Correct type annotations and add mypy for code checking #61

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

chyroc
Copy link
Collaborator

@chyroc chyroc commented Oct 9, 2024

  • Fixed type annotation issues across the codebase
  • Added mypy as a development dependency
  • Implemented mypy for static type checking to ensure type safety and correctness

@chyroc chyroc added the chore Project maintenance work not related to features and bug fixes label Oct 9, 2024
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.76%. Comparing base (24a371b) to head (685d143).
Report is 3 commits behind head on main.

@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   98.74%   98.76%   +0.02%     
==========================================
  Files          38       38              
  Lines        2303     2343      +40     
==========================================
+ Hits         2274     2314      +40     
  Misses         29       29              
Files with missing lines Coverage Δ
cozepy/auth/__init__.py 93.10% <100.00%> (+0.14%) ⬆️
cozepy/bots/__init__.py 100.00% <100.00%> (ø)
cozepy/chat/__init__.py 100.00% <100.00%> (ø)
cozepy/chat/message/__init__.py 100.00% <100.00%> (ø)
cozepy/conversations/__init__.py 100.00% <100.00%> (ø)
cozepy/conversations/message/__init__.py 100.00% <100.00%> (ø)
cozepy/coze.py 100.00% <100.00%> (ø)
cozepy/exception.py 100.00% <100.00%> (ø)
cozepy/files/__init__.py 100.00% <100.00%> (ø)
cozepy/knowledge/__init__.py 100.00% <100.00%> (ø)
... and 15 more

@chyroc chyroc force-pushed the chore-annotations-and-mypy branch 17 times, most recently from 05bc61e to 1a6b0f0 Compare October 9, 2024 08:03
@chyroc chyroc merged commit 0b16636 into main Oct 9, 2024
13 checks passed
@chyroc chyroc deleted the chore-annotations-and-mypy branch October 9, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Project maintenance work not related to features and bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant