Skip to content

Commit

Permalink
Update project from template
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Nov 18, 2023
1 parent 2fdab66 commit 2f799b2
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 707a50a
_commit: 1bc9ab4
_src_path: gh:blakeNaccarato/copier-python
actions_runner: ubuntu-latest
active: true
Expand Down
1 change: 0 additions & 1 deletion .tools/requirements/requirements_core.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Core requirements for template updates, bootstrapping, etc.

copier==8.1.0
dulwich==0.21.6
flit_core==3.9.0
Expand Down
18 changes: 15 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
{
"version": "0.2.0",
"inputs": [
{
"id": "input",
"type": "promptString",
"description": "Input arguments."
}
],
"configurations": [
{
"name": "Python: Current file",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "internalConsole",
"purpose": ["debug-test"],
"justMyCode": false
"console": "internalConsole"
},
{
"name": "Python: Current file with args",
"type": "debugpy",
"request": "launch",
"program": "${file} ${input:input}",
"console": "internalConsole"
},
{
//? Needs to be "pytest" adapter for now.
Expand Down
9 changes: 4 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// See: https://github.com/microsoft/vscode-python/issues/944#issuecomment-808516207
"terminal.integrated.defaultProfile.linux": "pwsh",

// * ---------------------------------------------------------------------------- * //

//! Pylance
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "strict",
Expand Down Expand Up @@ -92,10 +90,11 @@
".dvcignore": "ignore",
".env": "dotenv",
".pylintrc": "ini",
"pyrightconfig.json": "jsonc",
"*requirements*.txt": "pip-requirements",
".root": "plaintext",
".sourcery.yaml": "yaml"
".sourcery.yaml": "yaml",
"*requirements*.txt": "pip-requirements",
"*ipython-input*": "python",
"pyrightconfig.json": "jsonc"
},
//* File icon associations
"workbench.iconTheme": "vscode-icons",
Expand Down
12 changes: 9 additions & 3 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[pytest]
addopts = --verbose -p no:legacypaths -r a
testpaths = tests
markers = slow
addopts =
--strict-config
--strict-markers
--verbose
--color yes
-p no:legacypaths
-r a
cache_dir = .cache/.pytest_cache
markers = slow
testpaths = tests
xfail_strict = True

0 comments on commit 2f799b2

Please sign in to comment.