You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there be no annotations in the output, since --no-annotate is a valid flag, and --no-annotate should also appear in the generated header, or
a warning or error should be presented due to an unrecognized option being supplied
Actual result
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
## This file is autogenerated by pip-compile with Python 3.10# by the following command:## pip-compile requirements.in#anyio==3.7.1
# via httpcorecertifi==2023.5.7
# via# httpcore# httpxexceptiongroup==1.1.2
# via anyioh11==0.14.0
# via httpcorehttpcore==0.17.3
# via httpxhttpx==0.24.1
# via -r requirements.inidna==3.4
# via# anyio# httpxsniffio==1.3.0
# via# anyio# httpcore# httpx
The text was updated successfully, but these errors were encountered:
there be no annotations in the output, since --no-annotate is a valid flag, and --no-annotate should also appear in the generated header
I've tracked this down and it looks like click currently doesn't allow for setting default values for negating boolean flags. This means annotate = false is the equivalent for no_annotate = true.
I've tried implementing a feature switch, but that doesn't work either.
When testing out the new config behavior, if I add entries to
[tool.pip-tools]
likeor
then there are two surprises:
annotate = false
andheader = false
)Environment Versions
3.10.6
23.1.2
6.14.0
Steps to replicate
Expected result
Either
--no-annotate
is a valid flag, and--no-annotate
should also appear in the generated header, orActual result
The text was updated successfully, but these errors were encountered: