Skip to content

Commit

Permalink
GitHub codespaces setup
Browse files Browse the repository at this point in the history
  • Loading branch information
TheR1D committed Jan 12, 2024
1 parent 20ff0f2 commit a747d4a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// Make sure you have your OPENAI_API_KEY https://github.com/settings/codespaces
"version": "0.2.0",
"configurations": [
{
"name": "Python: Module",
"type": "python",
"request": "launch",
"module": "sgpt",
"justMyCode": true,
"args": ["--chat", "init", "hello"],
}
]
}
23 changes: 23 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"cSpell.words": [
"OPENAI",
"secho",
"sgpt",
"Typer"
],
"python.linting.pylintArgs": [
"--disable=too-many-locals",
"--disable=missing-function-docstring",
"--disable=too-many-arguments",
"--disable=missing-module-docstring",
"--disable=import-error",
"--disable=missing-class-docstring",
"--disable=too-many-instance-attributes",
"--disable=too-many-function-args",
"--disable=unspecified-encoding",
"--max-line-length=120",
],
"python.linting.enabled": true,
"python.linting.lintOnSave": false,
"python.linting.maxNumberOfProblems": 120,
}

0 comments on commit a747d4a

Please sign in to comment.