diff --git a/.gitignore b/.gitignore index f2b0ec7e..81922244 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .project .pydevproject .settings +.venv dist MANIFEST __pycache__ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..0228d642 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + // 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 + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Module", + "type": "python", + "request": "launch", + "module": "unittest", + "args": [ "discover", "-p", "test_*.py"], + "env": {"PYTHONPATH": "${workspaceFolder}", + "PYTHONSTARTUP": "${workspaceFolder}\\.venv\\Scripts\\activate"}, + "cwd": "${workspaceFolder}\\tests" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..e452cf21 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "python.testing.unittestArgs": [ + "-v", + "-s", + "./tests", + "-p", + "test*.py" + ], + "python.testing.pytestEnabled": false, + "python.testing.nosetestsEnabled": false, + "python.testing.unittestEnabled": true, + "python.pythonPath": "C:\\Users\\jim\\AppData\\Local\\Programs\\Python\\Python37\\python.exe" +} \ No newline at end of file