A validation and profiling tool for AI infrastructure
Перейти к файлу
Yifan Xiong 5be32481b1
Setup: Init - Initialize setup.py and basic configs (#4)
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
2021-01-28 21:01:28 +08:00
.github Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
superbench Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
tests Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.dockerignore Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.editorconfig Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.flake8 Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.gitattributes Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.gitignore Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.mypy.ini Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.pre-commit-config.yaml Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
.style.yapf Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-12-16 18:22:21 -08:00
LICENSE Initial LICENSE commit 2020-12-16 18:22:25 -08:00
MANIFEST.in Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
README.md Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
SECURITY.md Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
SUPPORT.md Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
azure-pipelines.yml CI: Initialization - Add Azure Pipelines for checking format and running pytest (#2) 2021-01-26 10:42:51 +08:00
setup.py Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00
test.dockerfile Setup: Init - Initialize setup.py and basic configs (#4) 2021-01-28 21:01:28 +08:00

README.md

Project

This repo has been populated by an initial template to help get you started. Please make sure to update the content to build a great experience for community-building.

As the maintainer of this project, please make a few updates:

  • Improving this README.MD file to provide a great experience
  • Updating SUPPORT.MD with content about this project's support experience
  • Understanding the security reporting process in SECURITY.MD
  • Remove this section from the README

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.