Skip to content

Commit

Permalink
Add Vscode default configuration
Browse files Browse the repository at this point in the history
- Running/debugging tests should be working
  • Loading branch information
Uxio0 committed Feb 16, 2022
1 parent 8cb9123 commit 0429b85
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ safe_transaction_service/media

# User-specific stuff:
.idea/
.vscode/
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Django: Run tests",
"type": "python",
"request": "launch",
"module": "pytest",
"args": [
"--lf",
"-rxXs"
],
"django": true,
"envFile": ".env.test"
}
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"python.formatting.provider": "black",
"python.linting.flake8Enabled": true,
"python.testing.pytestArgs": [],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.linting.enabled": true
}

0 comments on commit 0429b85

Please sign in to comment.