mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-01 17:17:05 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import click
|
||||
|
||||
from .check_installation import check_installation
|
||||
|
||||
__all__ = ['check']
|
||||
__all__ = ["check"]
|
||||
|
||||
|
||||
@click.command(help="Check if Colossal-AI is correct based on the given option")
|
||||
@click.option('-i', '--installation', is_flag=True, help="Check if Colossal-AI is built correctly")
|
||||
@click.option("-i", "--installation", is_flag=True, help="Check if Colossal-AI is built correctly")
|
||||
def check(installation):
|
||||
if installation:
|
||||
check_installation()
|
||||
|
Reference in New Issue
Block a user