diff --git a/.editorconfig b/.editorconfig index ad87307d30c86faee41f9a0cddfa645e2364da44..e100c8b358941f02aed25a61b9a3344bbcc86363 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,7 @@ indent_size = 4 [*.py] indent_style = space indent_size = 4 + +[pyproject.toml] +indent_style = space +indent_size = 4 diff --git a/pyproject.toml b/pyproject.toml index 1d480ae6dd5289a5ecc3309b01f7c1bd27c3631d..7f4d5a8d3c76994ae27765888163e6f78607574d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,41 +3,41 @@ name = "schilder2000" version = "0.1.0" description = "Schildergenerator 2000" authors = [ - {name = "Thomas Schneider", email = "thomas@fsmpi.rwth-aachen.de"}, - {name = "Dominic Meiser", email = "dominic@fsmpi.rwth-aachen.de"}, + {name = "Thomas Schneider", email = "thomas@fsmpi.rwth-aachen.de"}, + {name = "Dominic Meiser", email = "dominic@fsmpi.rwth-aachen.de"}, ] requires-python = ">=3.12" license = {text = "EUPL-1.2"} dependencies = [ - "weasyprint", - "jinja2", - "flask", - "flask-sqlalchemy", - "flask-wtf", - "wtforms-sqlalchemy", - "uuid7", - "psycopg", - "flask-weasyprint", - "python-webpack-boilerplate", + "weasyprint", + "jinja2", + "flask", + "flask-sqlalchemy", + "flask-wtf", + "wtforms-sqlalchemy", + "uuid7", + "psycopg", + "flask-weasyprint", + "python-webpack-boilerplate", ] [tool.pdm.dev-dependencies] dev = [ - "python-dotenv", + "python-dotenv", ] [tool.pdm.scripts] serve = "flask -A schilder2000 run --debug" -[build-system] -requires = ["pdm-backend"] -build-backend = "pdm.backend" - [tool.pdm.build] includes = [ - "schilder2000/**/*.py", - "schilder2000/templates", - "schilder2000/static/manifest.json", - # Referenced files in manifest.json included via pdm_build.py + "schilder2000/**/*.py", + "schilder2000/templates", + "schilder2000/static/manifest.json", + # Referenced files in manifest.json included via pdm_build.py ] + +[build-system] +requires = ["pdm-backend"] +build-backend = "pdm.backend"