Skip to content

Commit 78248a0

Browse files
rozzaCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 82834fb commit 78248a0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ public APIs, and never advise users to depend on them.
7979

8080
## Code Style and Formatting
8181

82-
Formatting is checked automatically via `./gradlew spotlessCheck` which runs
83-
as part of `check`. Use `./gradlew spotlessApply` to auto-fix formatting issues.
84-
Do not manually reformat files outside the scope of your changes.
82+
Formatting is enforced automatically because the Gradle `check` task depends on
83+
`./gradlew spotlessApply`, which formats sources. To run a check without modifying
84+
files, invoke `./gradlew spotlessCheck` manually. Do not manually reformat files
85+
outside the scope of your changes.
8586

8687
### Style Rules
8788

driver-core/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Core driver internals shared by all driver variants (sync, reactive, Kotlin, Sca
2525

2626
- Every package must have a `package-info.java`
2727
- Most extensive test suite — JUnit 5 + Spock (Groovy) + Mockito. Match surrounding patterns carefully.
28-
- `BuildConfig` is auto-generated by the `com.github.gmazzo.buildconfig` Gradle plugin — run `./gradlew generateBuildConfig` if missing
28+
- `com.mongodb.internal.build.MongoDriverVersion` is auto-generated by the `com.github.gmazzo.buildconfig` Gradle plugin — run `./gradlew :driver-core:generateMongoDriverVersion` if missing
2929
- Never block in async code paths
3030

3131
## Key Patterns

0 commit comments

Comments
 (0)