EricGao888 commented on PR #13704: URL: https://github.com/apache/dolphinscheduler/pull/13704#issuecomment-1490116960
> > Hi, @beatCao DS uses `spotless` to fix the code style, could you please run `./mvnw spotless apply` before committing the code. > > FYI: https://dolphinscheduler.apache.org/zh-cn/docs/3.1.3/contribute/development-environment-setup > > Can we run spotless apply in our ci and fix the code style issue by bot instead of by hand, for our contributors? @rickchengx @EricGao888 @zhongjiajie No. `Spotless` cannot convert wildcard imports `import *` into specific imports automatically at this moment. Also, we have rules to ban `powermock`, `junit4` with `Spotless`. If the CI automatically runs `apply` , it will remove those stuff and cause compilation failure. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
