Uh oh!
There was an error while loading. Please reload this page.
Setup: Init - Initial setup.py and basic configs - #4
Conversation
* inital setup.py * add gitignore and dockerignore * add editorconfig * add yapf, mypy, flake8 for type check and lint
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Update max-line-length in lint, use default 79.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Peng Cheng (cp5555)
left a comment
There was a problem hiding this comment.
Would you please double check with TobeyQin about the category?
Yifan Xiong (abuccts)
commented
Jan 27, 2021
TobeyQin pls refer to classifiers list |
Update according to comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
* follow [pep257](https://www.python.org/dev/peps/pep-0257/), use single quote for inline quotes and double quote for multiline/docstring * require docstring in `superbench/` * require typed defs in `superbench/`
Add spelling check for typo.
Fix warning and typo.
Add pre-commit config.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Update description according to comments.
Add docstrings and remove exception rules.
Initialize setup.py and basic configurations for this project. Major revisions: - initialize setup.py for Python package - add gitignore and dockerignore - add editorconfig for editors - configure yapf for auto formating - configure mypy for type hint - configure flake8 for lint, including quotes and docstrings - add pre-commit check for `git commit` - add spelling check in GitHub Actions - format existing files according to configured rules Example usage: # install dependencies $ python3 -m pip install -e .[dev,test] $ pre-commit install # format code automatically $ python3 setup.py format # lint code $ python3 setup.py lint # test code $ python3 setup.py test
This reverts commit 4a070f7.
Initialize setup.py and basic configurations for this project.
Major revisions:
git commitExample usage: