Compare commits

...

4 commits

5 changed files with 57 additions and 5 deletions

View file

@ -8,12 +8,22 @@
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
"ghcr.io/devcontainers/features/git-lfs:1": {}
// "ghcr.io/devcontainers-contrib/features/apt-get-packages:1": {
// "packages": "git-flow"
// }
},
"mounts": [
{
// make home directory persistent
"source": "devcontainer-home-vscode-${devcontainerId}",
"target": "/home/vscode",
"type": "volume"
}
],
// "containerEnv": {
// "TZ": "Europe/Berlin"
// },

21
.gitignore vendored
View file

@ -1,3 +1,5 @@
### https://github.com/github/gitignore/blob/main/Python.gitignore ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
@ -106,8 +108,10 @@ ipython_config.py
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
@ -158,3 +162,18 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
### https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix

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

@ -0,0 +1,13 @@
{
"version": "0.2.0",
"configurations": [
// {
// "name": "Project Name",
// "type": "debugpy",
// "request": "launch",
// "module": "my_pkg.my_module",
// // "env": {},
// "justMyCode": true,
// }
]
}

14
.vscode/settings.json vendored
View file

@ -1,20 +1,30 @@
{
"python.languageServer": "Pylance",
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnSave": true,
"editor.wordBasedSuggestions": "off",
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
"source.organizeImports": "explicit",
"source.fixAll": "explicit",
},
},
"git.closeDiffOnOperation": true,
"python.analysis.autoImportCompletions": true,
"python.analysis.importFormat": "relative",
"python.analysis.fixAll": [
"source.convertImportFormat",
"source.unusedImports",
],
"python.analysis.typeCheckingMode": "basic",
"python.analysis.diagnosticMode": "workspace",
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"--import-mode=importlib"
"--import-mode=importlib",
],
// "black-formatter.importStrategy": "fromEnvironment",
// "flake8.importStrategy": "fromEnvironment",
// "isort.importStrategy": "fromEnvironment",
}

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 Yavook!de
Copyright (c) 2023-2024 Yavook!de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: