Skip to content

less verbose spotless check #762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
maxandersen opened this issue Dec 28, 2020 · 3 comments
Closed

less verbose spotless check #762

maxandersen opened this issue Dec 28, 2020 · 3 comments

Comments

@maxandersen
Copy link

when build fails with spotless check fails it always includes the full dump of the differences.

Gets tedious to scroll through in github action ci pages ;)

Is it possible to have it (maybe its just gradle integration?) just print the file names without the full diff and the sometimes milelong stacktrace ?

@nedtwigg
Copy link
Member

Prrrobably not. The point of Spotless is "just run spotlessApply and fix it". We could add a flag, but now there's one more paragraph of documentation, and one more feature to test and keep working, and how does that new feature interact with other planned features like #655.

One workaround for the workflow you seem to want is this.

If you use Spotless for a couple weeks and still want it, come back with a PR that adds documentation for what you want (don't bother implementing). If the docs make sense, then we'll be open to implementing it.

@maxandersen
Copy link
Author

I've been using spotless a year by now.

It's generating massively long stack traces / info logs.

that's why I reported it as it's tedious to have this much log generated just to say one file was missed.

@maxandersen
Copy link
Author

I'll try find docs pr for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants