Skip to content

Commit

Permalink
MAJ du gitignore (hotfile & media) (#4668)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Nov 28, 2024
1 parent 9e41b5b commit 0687770
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 85 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ static/*
# except the .keep to keep it in git
media/*
!media/.keep
!media/open_data/
media/open_data/*
!media/open_data/.keep

# Flask stuff:
Expand Down Expand Up @@ -181,3 +183,4 @@ notes/

# 2024 Frontend
.vite/
.hotfile
1 change: 0 additions & 1 deletion .hotfile

This file was deleted.

149 changes: 68 additions & 81 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,83 +1,70 @@
{
// 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: Django",
"type": "debugpy",
"request": "launch",
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver"
],
"django": true,
"justMyCode": false
},
{
"name": "Python: Tests",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": [
"test",
"--noinput"
],
"justMyCode": false,
"django": true
},
{
"name": "Python: Debug tests",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": [
"test",
"--tag=debug",
"--noinput"
],
"justMyCode": false,
"django": true
},
{
"name":"Python: Current File",
"type":"debugpy",
"request":"launch",
"program":"${file}",
"console":"integratedTerminal",
"justMyCode":true
},
{
"name": "Geo Bot SIRET",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": [
"fill_missing_geolocation_data_using_siret",
],
"justMyCode": false,
"django": true
},
{
"name": "Export Dataset",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": [
"export_dataset",
],
"justMyCode": false,
"django": true
},
]
// 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: Django",
"type": "debugpy",
"request": "launch",
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": ["runserver"],
"django": true,
"justMyCode": false
},
{
"name": "Python: Tests",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": ["test", "--noinput"],
"justMyCode": false,
"django": true
},
{
"name": "Python: Debug tests",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": ["test", "--tag=debug", "--noinput"],
"justMyCode": false,
"django": true
},
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "Geo Bot SIRET",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": ["fill_missing_geolocation_data_using_siret"],
"justMyCode": false,
"django": true
},
{
"name": "Export Dataset",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"python": "${workspaceFolder}/venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": ["export_dataset"],
"justMyCode": false,
"django": true
}
]
}
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
}
},
"black-formatter.args": ["--line-length=119"],
"black-formatter.path": ["./venv/bin/black"],
"emmet.includeLanguages": {"django-html": "html"},
"isort.args": ["--profile", "black", "--filter-files"],
"emmet.includeLanguages": { "django-html": "html" },
"isort.args": ["--profile", "black", "--filter-files"]
}

0 comments on commit 0687770

Please sign in to comment.