Skip to content

Commit

Permalink
[apache#2671] fix(python-client): exclude pytest_cache from rat test (a…
Browse files Browse the repository at this point in the history
…pache#2672)

### What changes were proposed in this pull request?

Exclude a hidden folder from gradle rat test.

### Why are the changes needed?

It will make the gradle build failed in local, once the user run pytest
for the python client.

Fix: apache#2671

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

After applying the patch, gradle build will success after running
pytest.
  • Loading branch information
shaofengshi authored and xiaojiebao committed Mar 28, 2024
1 parent f8ccf47 commit 18c8007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,8 @@ tasks.rat {
"web/package-lock.json",
"web/pnpm-lock.yaml",
"**/LICENSE.*",
"**/NOTICE.*"
"**/NOTICE.*",
"clients/client-python/.pytest_cache/*"
)

// Add .gitignore excludes to the Apache Rat exclusion list.
Expand Down

0 comments on commit 18c8007

Please sign in to comment.