Skip to content

[WIP] Create docs for config file#20

Draft
himkt wants to merge 13 commits intopfnet:mainfrom
himkt:docs
Draft

[WIP] Create docs for config file#20
himkt wants to merge 13 commits intopfnet:mainfrom
himkt:docs

Conversation

@himkt
Copy link
Copy Markdown
Member

@himkt himkt commented May 15, 2022

@dataclasses.dataclass
class Config:
version: Optional[VersionRepresentation] = None
version: Optional[str] = None
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants