Skip to content

Commit

Permalink
Avoid Pylance races and simplify debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Oct 23, 2023
1 parent e4f32b0 commit 5648aab
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 38 deletions.
8 changes: 4 additions & 4 deletions .tools/requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# ? Decouple package install from DVC, an external tool used in this repo
dvc[gs]==3.27.0
# ? Install tests package so modules can be run in debugging
-e ../boilercv/tests/.
-e ../boilercore/tests/.
-e ../boilerdaq/tests/.
-e ../boilerdata/tests/.
# -e ../boilercv/tests/.
# -e ../boilercore/tests/.
# -e ../boilerdaq/tests/.
# -e ../boilerdata/tests/.

# * -------------------------------------------------------------------------------- * #
# * Changes below may be lost in significant template updates.
Expand Down
6 changes: 3 additions & 3 deletions .tools/requirements/requirements_nodeps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# * Changes below should persist in significant template updates.

# ? These should not be imported anywhere in this package. Installed for refactoring.
-e ../boilercv
-e ../boilerdaq
-e ../boilerdata
# -e ../boilercv
# -e ../boilerdaq
# -e ../boilerdata

# * -------------------------------------------------------------------------------- * #
# * Changes below may be lost in significant template updates.
21 changes: 0 additions & 21 deletions .tools/scripts/local_pyrightconfig.py

This file was deleted.

9 changes: 0 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@
"request": "launch",
"program": "${file}",
"console": "internalConsole"
},
{
"name": "Python: Current file, not just my code",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"justMyCode": false,
"purpose": ["debug-test"], // Uncomment to debug tests more deeply.
"console": "internalConsole"
}
]
}
6 changes: 5 additions & 1 deletion boiler.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "internalConsole"
"console": "internalConsole",
"env": {
"BOILERCV_DEBUG": "True",
"BOILERCV_PREVIEW": "True"
}
}
]
}
Expand Down

0 comments on commit 5648aab

Please sign in to comment.