Introduce basic code quality tools for both Java and Python code in the repo. This helps ensure formatting and best practices are followed consistently across contributors.
✅ Tasks
You don’t need to do all of them in one go — even completing just one is helpful!
0️⃣ Java Linter & Formatter
1️⃣ Java Auto-Formatter
2️⃣ Python Formatter (for auxiliary Python scripts)
name: Python Format Check
on: [push, pull_request]
jobs:
black-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Black
run: pip install black
- name: Check formatting with Black
run: black --check .
3️⃣ .editorconfig
Introduce basic code quality tools for both Java and Python code in the repo. This helps ensure formatting and best practices are followed consistently across contributors.
✅ Tasks
0️⃣ Java Linter & Formatter
pom.xmlorbuild.gradlecheckstyle.xml)mvn checkstyle:checkorgradle check1️⃣ Java Auto-Formatter
./gradlew spotlessApplyormvn spotless:apply2️⃣ Python Formatter (for auxiliary Python scripts)
black .)