From 9342c940969a8365cff84316b8e3d3259d22e689 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Sat, 11 May 2024 20:18:09 +0200 Subject: [PATCH] chore: cleanup and update toml, create editorconfig Signed-off-by: Dominik Willner --- .editorconfig | 11 +++++++++++ kiauh.cfg.example | 20 -------------------- pyproject.toml | 3 +++ 3 files changed, 14 insertions(+), 20 deletions(-) create mode 100644 .editorconfig delete mode 100644 kiauh.cfg.example diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..50a806a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +[*.py] +max_line_length = 88 diff --git a/kiauh.cfg.example b/kiauh.cfg.example deleted file mode 100644 index 0d61335..0000000 --- a/kiauh.cfg.example +++ /dev/null @@ -1,20 +0,0 @@ -[kiauh] -backup_before_update: False - -[klipper] -repository_url: https://github.com/Klipper3d/klipper -branch: master -method: https - -[moonraker] -repository_url: https://github.com/Arksine/moonraker -branch: master -method: https - -[mainsail] -port: 80 -unstable_releases: False - -[fluidd] -port: 80 -unstable_releases: False diff --git a/pyproject.toml b/pyproject.toml index 81a968d..364b1a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,9 @@ [project] requires-python = ">=3.8" +[project.optional-dependencies] +dev=["ruff"] + [tool.ruff] required-version = ">=0.3.4" respect-gitignore = true