We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Builder.clean (source), there is this if statement:
Builder.clean
if
if ( not self.config_settings.get("no-clean-build") or os.getenv("PDM_BUILD_NO_CLEAN", "false").lower() != "false" ): self.clean(context)
The double-negatives pinch my brain a bit, but it seems like != "false" should be == "false".
!= "false"
== "false"
If I want the build directory to not be cleaned I would set:
PDM_BUILD_NO_CLEAN=true
As the code is, "true" != "false" evaluates to True and self.clean(context) is called.
self.clean(context)
The text was updated successfully, but these errors were encountered:
c61f67d
No branches or pull requests
In
Builder.clean
(source), there is thisif
statement:The double-negatives pinch my brain a bit, but it seems like
!= "false"
should be== "false"
.If I want the build directory to not be cleaned I would set:
PDM_BUILD_NO_CLEAN=true
As the code is, "true" != "false" evaluates to True and
self.clean(context)
is called.The text was updated successfully, but these errors were encountered: