-
Notifications
You must be signed in to change notification settings - Fork 37
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
Deprecate current directives syntax. #792
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #792 +/- ##
==========================================
- Coverage 69.54% 69.53% -0.02%
==========================================
Files 48 48
Lines 4417 4422 +5
Branches 1069 1071 +2
==========================================
+ Hits 3072 3075 +3
- Misses 1138 1139 +1
- Partials 207 208 +1 ☔ View full report in Codecov by Sentry. |
flow/project.py
Outdated
if directives is not None: | ||
warnings.warn( | ||
"The current directives are deprecated as of flow 0.27. When updating flow " | ||
"please look at the documentation for the new style.", |
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.
It would be nice to have a link to where this documentation will be or at least keep it updated as this changes
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.
A couple suggestions, otherwise LGTM.
Description
Adds deprecation warnings to the entry points for directives.
Motivation and Context
In order to make the new directives style possible, we need to remove the current way we handle directives (see #785).
Checklist: