-
Notifications
You must be signed in to change notification settings - Fork 20
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
base: main
Are you sure you want to change the base?
Conversation
@@ -53,7 +53,7 @@ class PluginConfig: | |||
|
|||
@dataclasses.dataclass | |||
class Config: | |||
version: Optional[VersionRepresentation] = None | |||
version: Optional[str] = None |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
https://himkt.github.io/pysen-docs/overview.html