Skip to content

Comments

refactor(parser): delete doc-based command configuration parser#239

Merged
branchv merged 6 commits intopython-poetry:mainfrom
Secrus:refactor/parser
Sep 5, 2022
Merged

refactor(parser): delete doc-based command configuration parser#239
branchv merged 6 commits intopython-poetry:mainfrom
Secrus:refactor/parser

Conversation

@Secrus
Copy link
Member

@Secrus Secrus commented Aug 29, 2022

With sdispaters blessing, I removed the option to configure commands via the __doc__ comment. It was adding too much unnecessary complexity to code and was prone to bugs (like all custom grammar parsers).

Resolves: #65
Resolves: #64
Resolves: #55

@Secrus Secrus requested a review from a team August 31, 2022 08:44
Copy link
Member

@branchv branchv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple tweaks. Also let's update the snippets in the README + add a line in the CHANGELOG

@Secrus Secrus requested a review from branchv September 3, 2022 16:47
@branchv branchv merged commit e7687e9 into python-poetry:main Sep 5, 2022
@Secrus Secrus deleted the refactor/parser branch September 6, 2022 20:29
@iamkroot
Copy link

Are there any documented steps for migration from doc-based configs to the new method? Or do we have do it manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop escaping the default values of arguments/options when displaying help single space as an argument default value

3 participants