Skip to content
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

[WIP] Create docs for config file #20

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

[WIP] Create docs for config file #20

wants to merge 13 commits into from

Conversation

himkt
Copy link
Member

@himkt himkt commented May 15, 2022

@@ -53,7 +53,7 @@ class PluginConfig:

@dataclasses.dataclass
class Config:
version: Optional[VersionRepresentation] = None
version: Optional[str] = None
Copy link
Member Author

Choose a reason for hiding this comment

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

[RFC] I'm wondering we can simply change version in Config and py_version in MypyModuleOption to str. It makes config file consistent to their dataclass attributes. I think we can hide VersionRepresentation and PythonVersion internally.

https://github.com/pfnet/pysen/compare/d00e7f4..52737ff

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK!
Thank you for the suggestion!

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.

None yet

2 participants