Skip to content

Commit

Permalink
Update readme & add editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederisk committed Nov 24, 2022
1 parent 19dd040 commit cea0201
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
tab_width = 4
# end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

[*.{yml,yaml}]
indent_size = 2
tab_width = 2
insert_final_newline = true
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
"cSpell.words": [
"callsh",
"chdir",
"conda",
"cpuset",
"endgroup",
"kaggle",
"lvyufeng",
"marvinpinto",
"namiyousef",
"returncode",
"rmarkdown"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ For free users, kaggle will provide more than 30 hours of GPU usage per week, wh
callsh(['git', 'clone', 'https://github.com/name/repo_name'])
os.chdir('repo_name')
callsh(['bash', 'scripts/setup.sh'])
callsh(['conda', 'create', '-n', 'testenv', 'python=3.8.12', 'cudatoolkit=9.2', 'cudnn', '-y'])
callsh(['/opt/conda/envs/testenv/bin/pip', 'install', '-r', 'requirements.txt'])
callsh(['/opt/conda/envs/testenv/bin/pytest', 'tests'])
# ......
```

Expand Down

0 comments on commit cea0201

Please sign in to comment.