-
Notifications
You must be signed in to change notification settings - Fork 231
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
misc: Prevent builtins on transient functions #2506
Conversation
devito/builtins/utils.py
Outdated
@@ -131,3 +132,23 @@ def wrapper(*args, **kwargs): | |||
return func(*processed, argmap=argmap, **kwargs) | |||
|
|||
return wrapper | |||
|
|||
|
|||
def check_args(func): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check_builtins_args
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2506 +/- ##
==========================================
- Coverage 87.29% 87.28% -0.02%
==========================================
Files 238 238
Lines 45645 45674 +29
Branches 4048 4050 +2
==========================================
+ Hits 39848 39865 +17
- Misses 5112 5123 +11
- Partials 685 686 +1 ☔ View full report in Codecov by Sentry. |
75c9f2e
to
2e23216
Compare
No description provided.