From a747d4a6dce049ae6158279b915a5249f278eb57 Mon Sep 17 00:00:00 2001 From: Farkhod Sadykov Date: Tue, 14 Mar 2023 00:35:49 +0000 Subject: [PATCH] GitHub codespaces setup --- .vscode/launch.json | 17 +++++++++++++++++ .vscode/settings.json | 23 +++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..edb998f3 --- /dev/null +++ b/.vscode/launch.json @@ -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"], + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..e3d2e0f4 --- /dev/null +++ b/.vscode/settings.json @@ -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, +} \ No newline at end of file