fix: exclude standalone examples from `mise run format` by zeitlinger · Pull Request #1931 · prometheus/client_java · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .mise/tasks/lint/example-poms.py
7 changes: 6 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mise run test-all

# Format code with Google Java Format
mise run format
# or directly: ./mvnw spotless:apply

# Run a single test class
./mvnw test -Dtest=CounterTest \
Expand Down Expand Up @@ -143,6 +142,12 @@ mise run lint
# or to autofix: mise run fix
```

### Before Pushing

**ALWAYS** run `mise run lint` before pushing to verify
all lints pass. CI runs the same checks and will fail
if any lint is violated.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

## Testing

- JUnit 5 (Jupiter) with `@Test` annotations
Expand Down
6 changes: 4 additions & 2 deletions mise.toml