summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorfrappe <frappe@c5102bb99250>2026-03-17 17:56:48 +0000
committerfrappe <frappe@c5102bb99250>2026-03-17 17:56:48 +0000
commit2a9e19e287e77dd00e38f148b5da5c1acb3c754d (patch)
tree60658dd9b30171d685755a201ad059ee92c68699 /pyproject.toml
downloadsupportive_help-2a9e19e287e77dd00e38f148b5da5c1acb3c754d.tar.xz
supportive_help-2a9e19e287e77dd00e38f148b5da5c1acb3c754d.zip
feat: Initialize App
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml56
1 files changed, 56 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..8ab9837
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,56 @@
+[project]
+name = "supportive_help"
+authors = [
+ { name = "Leon Zimmermann", email = "oscoder@lczimmermann.eu"}
+]
+description = "The "Supportive Assistance" module provides administrative support for activities covered by the German Social Code."
+requires-python = ">=3.10"
+readme = "README.md"
+dynamic = ["version"]
+dependencies = [
+ # "frappe~=15.0.0" # Installed and managed by bench.
+]
+
+[build-system]
+requires = ["flit_core >=3.4,<4"]
+build-backend = "flit_core.buildapi"
+
+# These dependencies are only installed when developer mode is enabled
+[tool.bench.dev-dependencies]
+# package_name = "~=1.1.0"
+
+[tool.ruff]
+line-length = 110
+target-version = "py310"
+
+[tool.ruff.lint]
+select = [
+ "F",
+ "E",
+ "W",
+ "I",
+ "UP",
+ "B",
+ "RUF",
+]
+ignore = [
+ "B017", # assertRaises(Exception) - should be more specific
+ "B018", # useless expression, not assigned to anything
+ "B023", # function doesn't bind loop variable - will have last iteration's value
+ "B904", # raise inside except without from
+ "E101", # indentation contains mixed spaces and tabs
+ "E402", # module level import not at top of file
+ "E501", # line too long
+ "E741", # ambiguous variable name
+ "F401", # "unused" imports
+ "F403", # can't detect undefined names from * import
+ "F405", # can't detect undefined names from * import
+ "F722", # syntax error in forward type annotation
+ "W191", # indentation contains tabs
+]
+typing-modules = ["frappe.types.DF"]
+
+[tool.ruff.format]
+quote-style = "double"
+indent-style = "tab"
+docstring-code-format = true