Skip to content

Commit 3050aa8

Browse files
committed
chore: add stylua to format command in Makefile
1 parent 15f082b commit 3050aa8

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ make install-dev
2727
```bash
2828
make lint # Check code with ruff linter
2929
make lint-fix # Auto-fix linting issues
30-
make format # Format code with ruff
30+
make format # Format code with ruff and stylua
3131
make format-md # Format markdown files
3232
make typecheck # Run type checker
3333
make quality # Run all quality checks

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ PYTHON := python3
1313
UV := uv
1414
PYTEST := pytest
1515
RUFF := ruff
16+
STYLUA := stylua
1617
TYPECHECK := basedpyright
1718
MKDOCS := mkdocs
1819
MDFORMAT := mdformat
@@ -51,6 +52,8 @@ format: ## Run ruff formatter
5152
@echo "$(YELLOW)Running ruff formatter...$(RESET)"
5253
$(RUFF) check --select I --fix .
5354
$(RUFF) format .
55+
@echo "$(YELLOW)Running stylua formatter...$(RESET)"
56+
$(STYLUA) src/lua
5457

5558
format-md: ## Run markdown formatter
5659
@echo "$(YELLOW)Running markdown formatter...$(RESET)"

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ make install-dev # Install with development dependencies
129129
```bash
130130
make lint # Run ruff linter (check only)
131131
make lint-fix # Run ruff linter with auto-fixes
132-
make format # Run ruff formatter
132+
make format # Run ruff formatter and stylua
133133
make format-md # Run markdown formatter
134134
make typecheck # Run type checker
135135
make quality # Run all code quality checks

0 commit comments

Comments
 (0)