Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jan 15, 2025
1 parent 887bcb7 commit 28c97a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vyper/cli/vyper_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ def _parse_args(argv):
assert args.warnings_control is None # sanity
warnings_filter = "default"

# NOTE: in the future we can do more fine-grained control by setting
# category to specific warning types
warnings.simplefilter(warnings_filter, category=VyperWarning)

if args.hex_ir:
Expand Down

0 comments on commit 28c97a4

Please sign in to comment.