Skip to content

feat[lang]: remove one-warning limit from builtins#4542

Merged
charles-cooper merged 4 commits intovyperlang:masterfrom
charles-cooper:feat/remove-builtins-warning-limit
Apr 7, 2025
Merged

feat[lang]: remove one-warning limit from builtins#4542
charles-cooper merged 4 commits intovyperlang:masterfrom
charles-cooper:feat/remove-builtins-warning-limit

Conversation

@charles-cooper
Copy link
Copy Markdown
Member

remove the one-warning limit from most builtins, especially deprecation warnings. breakpoint() and print() are left as exceptions, since those might be peppered into a codebase while debugging, and the compiler does not need to be so verbose

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

remove the one-warning limit from most builtins, especially deprecation
warnings. `breakpoint()` and `print()` are left as exceptions, since
those might be peppered into a codebase while debugging, and the
compiler does not need to be so verbose
@charles-cooper charles-cooper marked this pull request as ready for review March 25, 2025 14:33
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.57%. Comparing base (d3458d4) to head (61dda32).
Report is 93 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4542   +/-   ##
=======================================
  Coverage   92.56%   92.57%           
=======================================
  Files         123      123           
  Lines       17467    17452   -15     
  Branches     2950     2945    -5     
=======================================
- Hits        16169    16156   -13     
  Misses        894      894           
+ Partials      404      402    -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cyberthirst
Copy link
Copy Markdown
Collaborator

can you please add a test where we'd catch the same warning multiple times?

@charles-cooper
Copy link
Copy Markdown
Member Author

can you please add a test where we'd catch the same warning multiple times?

360dcec

@charles-cooper charles-cooper merged commit 0e737fc into vyperlang:master Apr 7, 2025
161 checks passed
@charles-cooper charles-cooper deleted the feat/remove-builtins-warning-limit branch April 7, 2025 17:00
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