-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow users to find usages of py.local #10199
Comments
What "related fixtures" do you have in mind? I can only think of All those are already part of an internal |
@The-Compiler exactly these fixtures and the plugin sounds great. Some documentation would be great 😄 |
Hi, That's indeed a neat trick to know when modernizing old code bases. Can I be assigned this documentation improvement for Hacktober fest ? |
Based on effects in previous years I think I'd like to opt out of the hacktoberfest |
Sorry to read you had a bad experience. The event has turned into an opt-in mode since last year at least so you should be able to do that without any problem. In any case, my documentation update offer still holds. |
What's the problem this feature will solve?
As far as I understand,
py
(especiallypy.local
) and related fixtures liketempdir
should be replace withpathlib
and their corresponding fixtures liketmp_path
. In large code bases switching is a longer task and requires multiple commits and work of multiple peopleDescribe the solution you'd like
It would be great if there would be an option to block the usage of these "old" fixtures, e.g. by a "future mode" or a warning which can be changed to an error with warning filters.
With this,
pathlib
only, future usage is blockedAlternative Solutions
The text was updated successfully, but these errors were encountered: