Skip to content

Commit

Permalink
vscode and poetry settings added
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera committed May 13, 2024
1 parent 94ece4b commit 61200fd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"ms-python.black-formatter",
"ms-python.flake8",
"ms-python.python",
"ms-python.vscode-pylance",
]
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.pyc": true,
"**/__pycache__": true
},
// Set flake8 path
"flake8.path": [".venv/bin/flake8"],
"black-formatter.path": [".venv/bin/black"],
"python.defaultInterpreterPath": ".venv/bin/python",
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ Please direct pull requests towards the `dev_bjorn` branch.

```bash
# If you want the virtual environment to be created in this folder
# (this is now the default, see `poetry.toml`)
poetry config virtualenvs.in-project true

# Install dependencies (extras are required for tests to pass)
Expand Down
2 changes: 2 additions & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[virtualenvs]
in-project = true

0 comments on commit 61200fd

Please sign in to comment.