style: autoformatting

This commit is contained in:
Laurent Fainsin 2023-04-01 19:31:04 +02:00
parent ac26b2a62a
commit 85e446c934
2 changed files with 61 additions and 61 deletions

70
.vscode/launch.json vendored
View file

@ -1,36 +1,36 @@
{
// 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: Current File",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/main.py",
// "program": "${workspaceFolder}/src/spheres.py",
// "program": "${workspaceFolder}/src/datamodule.py",
"args": [
// "fit",
"predict",
// "--ckpt_path",
// "${workspaceFolder}/lightning_logs/version_264/checkpoints/epoch=9-st&ep=1000.ckpt",
"--data.num_workers",
"0",
"--trainer.benchmark",
"false",
"--trainer.num_sanity_val_steps",
"0",
"--data.persistent_workers",
"false",
"--data.batch_size",
"1",
"--trainer.val_check_interval",
"1"
],
"console": "integratedTerminal",
"justMyCode": false
}
]
}
// 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: Current File",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/main.py",
// "program": "${workspaceFolder}/src/spheres.py",
// "program": "${workspaceFolder}/src/datamodule.py",
"args": [
// "fit",
"predict",
// "--ckpt_path",
// "${workspaceFolder}/lightning_logs/version_264/checkpoints/epoch=9-st&ep=1000.ckpt",
"--data.num_workers",
"0",
"--trainer.benchmark",
"false",
"--trainer.num_sanity_val_steps",
"0",
"--data.persistent_workers",
"false",
"--data.batch_size",
"1",
"--trainer.val_check_interval",
"1"
],
"console": "integratedTerminal",
"justMyCode": false
}
]
}

52
.vscode/settings.json vendored
View file

@ -1,27 +1,27 @@
{
// "python.defaultInterpreterPath": ".venv/bin/python",
"python.analysis.typeCheckingMode": "off",
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.banditEnabled": true,
"python.languageServer": "Pylance",
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__pycache__": true,
"**/.mypy_cache": true,
},
}
// "python.defaultInterpreterPath": ".venv/bin/python",
"python.analysis.typeCheckingMode": "off",
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.banditEnabled": true,
"python.languageServer": "Pylance",
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__pycache__": true,
"**/.mypy_cache": true,
},
}