mirror of https://github.com/hpcaitech/ColossalAI
Browse Source
* gh: move CONTRIBUTING to .github * chore: move isort config to pyproject * chore: move pytest config to pyproject * chore: move yapf config to pyproject * chore: move clang-format config to pre-commitpull/3008/head
Saurav Maheshkar
2 years ago
committed by
GitHub
7 changed files with 22 additions and 19 deletions
@ -1,5 +0,0 @@
|
||||
[settings] |
||||
line_length = 120 |
||||
multi_line_output=3 |
||||
include_trailing_comma = true |
||||
ignore_comments = true |
@ -1,5 +0,0 @@
|
||||
[style] |
||||
based_on_style = google |
||||
spaces_before_comment = 4 |
||||
split_before_logical_operator = true |
||||
column_limit = 120 |
@ -0,0 +1,19 @@
|
||||
[tool.isort] |
||||
line_length = 120 |
||||
multi_line_output = 3 |
||||
include_trailing_comma = true |
||||
ignore_comments = true |
||||
|
||||
[tool.yapf] |
||||
based_on_style = "google" |
||||
spaces_before_comment = 4 |
||||
split_before_logical_operator = true |
||||
column_limit = 120 |
||||
|
||||
[tool.pytest.ini_options] |
||||
markers = [ |
||||
"cpu: tests which can run on CPU", |
||||
"gpu: tests which requires a single GPU", |
||||
"dist: tests which are run in a multi-GPU or multi-machine environment", |
||||
"experiment: tests for experimental features", |
||||
] |
Loading…
Reference in new issue