Skip to content

Conversation

@alexmojaki
Copy link
Contributor

The line half = min(shape[dimension], NUMPY_DIMENSION_MAX_SIZE) // 2 meant that when shape[dimension] was an odd number less than NUMPY_DIMENSION_MAX_SIZE, a single slice would be removed from the middle.

Also upgraded dependencies, mostly to allow formatting with ruff when using inline-snapshot. This caused some changes due to upgrading ruff and pyright.

@codecov
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bc9894b) to head (3e76024).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #792    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          138       138            
  Lines        11029     11036     +7     
  Branches       781      1565   +784     
==========================================
+ Hits         11029     11036     +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alexmojaki alexmojaki requested a review from Kludex January 10, 2025 13:28
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 14, 2025

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3e76024
Status: ✅  Deploy successful!
Preview URL: https://e8c0884b.logfire-docs.pages.dev
Branch Preview URL: https://alex-numpy-truncation.logfire-docs.pages.dev

View logs

@alexmojaki alexmojaki merged commit 6ab0661 into main Jan 14, 2025
16 checks passed
@alexmojaki alexmojaki deleted the alex/numpy-truncation branch January 14, 2025 17:14
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.

3 participants