alamb commented on a change in pull request #8687:
URL: https://github.com/apache/arrow/pull/8687#discussion_r524702929
##########
File path: ci/scripts/rust_lint.sh
##########
@@ -17,10 +17,14 @@
# specific language governing permissions and limitations
# under the License.
+# Entrypoint to run rust linter on CI (automated tests)
+#
+# Usage: rust_lint.sh <arrow checkout directory>
+
set -e
source_dir=${1}/rust
pushd ${source_dir}/arrow
- cargo clippy -- -A clippy::redundant_field_names
+ cargo clippy --all-targets --workspace -- -D warnings -A
clippy::redundant_field_names
Review comment:
The `-D warnings` means "disallow anything that clippy would warn
against" and treat them as an error
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]