new folder structure

This commit is contained in:
2025-09-29 09:17:13 +02:00
parent 38117ab875
commit 78fc6068fb
197 changed files with 3490 additions and 1117 deletions

22
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,22 @@
{
"recommendations": [
"ms-python.python",
"ms-python.debugpy",
"ms-python.flake8",
"ms-python.black-formatter",
"ms-python.isort",
"ms-vscode.vscode-json",
"bradlc.vscode-tailwindcss",
"ms-vscode.vscode-docker",
"ms-python.pylint",
"ms-python.mypy-type-checker",
"charliermarsh.ruff",
"ms-vscode.test-adapter-converter",
"littlefoxteam.vscode-python-test-adapter",
"formulahendry.auto-rename-tag",
"esbenp.prettier-vscode",
"PKief.material-icon-theme",
"GitHub.copilot",
"GitHub.copilot-chat"
]
}

57
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,57 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Flask App",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/src/server/app.py",
"env": {
"FLASK_APP": "app.py",
"FLASK_ENV": "development",
"PYTHONPATH": "${workspaceFolder}"
},
"args": [],
"jinja": true,
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/src/server"
},
{
"name": "Python: CLI Tool",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/src/main.py",
"env": {
"PYTHONPATH": "${workspaceFolder}"
},
"args": [],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}"
},
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${workspaceFolder}"
}
},
{
"name": "Python: Pytest",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"tests/",
"-v"
],
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${workspaceFolder}"
},
"cwd": "${workspaceFolder}"
}
]
}

35
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,35 @@
{
"python.defaultInterpreterPath": "./aniworld/Scripts/python.exe",
"python.terminal.activateEnvironment": true,
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length",
"88"
],
"python.sortImports.args": [
"--profile",
"black"
],
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"files.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
"**/node_modules": true,
"**/.pytest_cache": true,
"**/data/temp/**": true,
"**/data/cache/**": true,
"**/data/logs/**": true
},
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.autoTestDiscoverOnSaveEnabled": true
}