[KYUUBI #4379][BUILD] Exclude python virtual environments in the spotless maven plugin

### _Why are the changes needed?_

Exclude python virtual environments in the spotless maven plugin

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4384 from a49a/exclude-py-check.

Closes #4379

5f7db6a0 [Luning Wang] change path more general
a2c5abf2 [Luning Wang] [KYUUBI #4379][BUILD] Exclude python virtual environments in the spotless maven plugin

Authored-by: Luning Wang <wang4luning@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
Luning Wang 2023-02-24 13:46:15 +08:00 committed by Cheng Pan
parent b39caed98f
commit 0c88e7564f
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -2083,6 +2083,9 @@
<include>*/README.md</include>
<include>docker/playground/README.md</include>
</includes>
<excludes>
<exclude>docs/*/lib/python*/**/*.md</exclude>
</excludes>
<flexmark>
<version>${flexmark.version}</version>
</flexmark>