Initialize backend project with essential files and configurations

This commit is contained in:
JSC
2025-07-10 20:53:22 +02:00
commit 7f8c47273a
5 changed files with 35 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
# Python-generated files
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
# Virtual environments
.venv

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.12

0
README.md Normal file
View File

6
main.py Normal file
View File

@@ -0,0 +1,6 @@
def main():
print("Hello from backend!")
if __name__ == "__main__":
main()

18
pyproject.toml Normal file
View File

@@ -0,0 +1,18 @@
[project]
name = "backend"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[dependency-groups]
dev = ["black==25.1.0", "pytest==8.4.1", "ruff==0.12.2"]
[tool.black]
line-length = 80
[tool.ruff]
line-length = 80
lint.select = ["ALL"]
lint.ignore = ["D100", "D104"]