This commit is contained in:
Ruediger Ludwig 2022-11-30 19:39:52 +01:00
commit a355de5d8b
24 changed files with 1133 additions and 0 deletions

32
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,32 @@
{
// 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: Advent",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"program": "advent"
},
{
"name": "Python: Advent with Args",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"program": "advent",
"args": [
"${input:dayToRun}"
]
}
],
"inputs": [
{
"id": "dayToRun",
"type": "promptString",
"description": "Which day should be run?"
}
]
}

22
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,22 @@
{
"python.terminal.activateEnvInCurrentTerminal": true,
"python.analysis.diagnosticMode": "workspace",
"python.linting.flake8Enabled": true,
"python.analysis.typeCheckingMode": "strict",
"files.exclude": {
".venv/": true,
"**/__pycache__/": true,
"**/.pytest_cache/": true,
"**/*.egg-info/": true
},
"python.testing.pytestArgs": [],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.autopep8Args": [
"--max-line-length",
"100",
"--aggressive",
"--ignore",
"W503"
]
}