From 004a7c9533b927dd616a32e650d40ff017dbba84 Mon Sep 17 00:00:00 2001 From: andis Date: Wed, 6 Jan 2021 18:23:28 +0000 Subject: [PATCH] add launch json for theia --- .gitignore | 1 - fet2020/.theia/launch.json | 19 +++++++++++++++++++ fet2020/.theia/settings.json | 8 ++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 fet2020/.theia/launch.json create mode 100644 fet2020/.theia/settings.json diff --git a/.gitignore b/.gitignore index b1926e3b..25224526 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ fet2020/.env/* *.sqlite3 fet2020/*/migrations/* .theia/* -fet2020/.theia/* .flake8 migrate run diff --git a/fet2020/.theia/launch.json b/fet2020/.theia/launch.json new file mode 100644 index 00000000..b2fc64ed --- /dev/null +++ b/fet2020/.theia/launch.json @@ -0,0 +1,19 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Django", + "type": "python", + "request": "launch", + "program": "manage.py", + "console": "integratedTerminal", + "args": [ + "runserver", + "0.0.0.0:8000" + ], + "django": true +} + ] +} diff --git a/fet2020/.theia/settings.json b/fet2020/.theia/settings.json new file mode 100644 index 00000000..60400e38 --- /dev/null +++ b/fet2020/.theia/settings.json @@ -0,0 +1,8 @@ +{ + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.unittestEnabled": false, + "python.testing.nosetestsEnabled": false, + "python.testing.pytestEnabled": true +} \ No newline at end of file