Skip to content

Docstrings,type hints for public items.#3

Open
alchemistcai wants to merge 1 commit intogfzhou:mainfrom
alchemistcai:docstring_type_hints
Open

Docstrings,type hints for public items.#3
alchemistcai wants to merge 1 commit intogfzhou:mainfrom
alchemistcai:docstring_type_hints

Conversation

@alchemistcai
Copy link

  • Add some docstrings for modules in openvs,classes, variables and functions.If some are never used,skip them.
  • Add some type hints for variables and functions in openvs. If some are never used,skip them.
  • Create empty sets by set() instead of set([]).
  • Iterate dict.items() when keys and values are used.Avoid twice key search.
  • Add .gitignore to ignore pycaches and egg-infos.
  • Use (0.2,0.35,0.5) instead of [0.2,0.35,0.5] as functions' default parameter.

Docstrings and type hints are inferred manually.So they need reviews.

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.

1 participant