-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
ARROW-6835: [Archery][CMake] Restore ARROW_LINT_ONLY cmake option #5616
ARROW-6835: [Archery][CMake] Restore ARROW_LINT_ONLY cmake option #5616
Conversation
ad2ce3f
to
0f77156
Compare
@pitrou can you try locally to see if it restores your local script and also if archery works without conflict over CMAKE env var. |
|
As for I would have two suggestions though:
|
So, |
5c87af9
to
1f0d965
Compare
I just added a commit that will downgrade gracefully if a required binary (cmake, hadolint, flake8, cargo) is missing. It'll output a warning message and skip the linter. This should provide a better first experience than having to toggle options (thanks for being my guinea pig). In the next iteration, I want to bring the detect-changes in archery so it can dynamically decide which linter to run by default invocation of
In my first draft, all boolean options were flags à-la autoconf (--with-clang-format/--without-clang-format). This is very convenient for humans, not so much for scripts. I decided to go with the
This is much simpler than building argv via append and conditions (at least in bash). |
1f0d965
to
2b6c46b
Compare
2b6c46b
to
02e6605
Compare
Make --fix in archery lint a flag [skip ci]
02e6605
to
55bcb89
Compare
+1 |
No description provided.