feat: add universal formatting configuration (black, prettier, editorconfig) #71

Manually merged
viewit merged 0 commits from fenopy/KX-Bridge-Release:feat/formatting into nightly 2026-06-24 23:23:57 +02:00
Contributor

Notes

@viewit, please feel free to customize to your preferences. I was just looking to add some consistency between developers and editors.
All files require a first-time format

pip install -r requirements-dev.txt # Install black
npm install # Install prettier

black . # Format Python
npm run format:web # Format JavaScript/web files

Description

Adds universal code formatting configuration for Python and JavaScript/web files to maintain consistent code style across the project without requiring extensive tooling.

Includes:

  • .editorconfig - baseline formatting rules respected by all editors
  • requirements-dev.txt - Black for Python formatting
  • package.json - Prettier for JavaScript/JSON/HTML/CSS formatting

Developers can format locally with black . and npm run format:web before commits.

Closes # (if applicable)

Type

  • Bug fix
  • Feature
  • Documentation
  • Refactoring

Tested with

  • OrcaSlicer Version: N/A
  • Printer: N/A
  • Moonraker/Klipper Version: N/A

Checklist

  • No tests required (configuration files)
  • CHANGELOG.md updated (optional - dev-only dependency)
  • No debug code included
## Notes @viewit, please feel free to customize to your preferences. I was just looking to add some consistency between developers and editors. All files require a first-time format `pip install -r requirements-dev.txt # Install black` `npm install # Install prettier` `black . # Format Python` `npm run format:web # Format JavaScript/web files` ## Description Adds universal code formatting configuration for Python and JavaScript/web files to maintain consistent code style across the project without requiring extensive tooling. Includes: - `.editorconfig` - baseline formatting rules respected by all editors - `requirements-dev.txt` - Black for Python formatting - `package.json` - Prettier for JavaScript/JSON/HTML/CSS formatting Developers can format locally with `black .` and `npm run format:web` before commits. ## Related Issue Closes # (if applicable) ## Type - [ ] Bug fix - [x] Feature - [ ] Documentation - [ ] Refactoring ## Tested with - OrcaSlicer Version: N/A - Printer: N/A - Moonraker/Klipper Version: N/A ## Checklist - [x] No tests required (configuration files) - [ ] CHANGELOG.md updated (optional - dev-only dependency) - [x] No debug code included
fenopy added 1 commit 2026-06-24 13:46:47 +02:00
feat: add universal formatting configuration (black, prettier, editorconfig)
Some checks failed
PR Check / lint-and-test (pull_request) Failing after 22s
b4415abf16
@viewit, please feel free to customize to your preferences. I was just looking to add some consistency between developers and editors.
fenopy added 2 commits 2026-06-24 23:23:55 +02:00
feat: add universal formatting configuration (black, prettier, editorconfig)
Some checks failed
PR Check / lint-and-test (pull_request) Failing after 22s
b4415abf16
@viewit, please feel free to customize to your preferences. I was just looking to add some consistency between developers and editors.
fix: pull_request_template.md ins Root-Verzeichnis (Gitea-Anforderung)
Some checks failed
Nightly Build / build (push) Has been cancelled
PR Check / lint-and-test (pull_request) Failing after 5s
216b2de2c0
viewit manually merged commit 216b2de2c0 into nightly 2026-06-24 23:23:57 +02:00
fenopy deleted branch feat/formatting 2026-06-24 23:25:34 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: viewit/KX-Bridge-Release#71
No description provided.