You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by fi...@apache.org on 2025/02/18 17:27:12 UTC

(datafusion) branch main updated: Skip target in taplo checks (#14747)

This is an automated email from the ASF dual-hosted git repository.

findepi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new ed517efcf3 Skip target in taplo checks (#14747)
ed517efcf3 is described below

commit ed517efcf329de55e7a9d881d6d76d885bc3598d
Author: Piotr Findeisen <pi...@gmail.com>
AuthorDate: Tue Feb 18 09:27:07 2025 -0800

    Skip target in taplo checks (#14747)
    
    `target` can contain arbitrary files. Contents depend on tools used and
    tests run, and may even include `Cargo.toml` files that are not properly
    formatted. The taplo check should never complain on files that are not
    meant to be part of the repository, and `target` contents clearly falls
    into that category.
    
    `trybuild` is an example of a tool that creates cargo files inside
    target directory.
---
 taplo.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/taplo.toml b/taplo.toml
index b7089c5016..47b33161c3 100644
--- a/taplo.toml
+++ b/taplo.toml
@@ -18,6 +18,7 @@
 ## https://taplo.tamasfe.dev/configuration/file.html
 
 include = ["**/Cargo.toml"]
+exclude = ["target/*"]
 
 [formatting]
 # Align consecutive entries vertically.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org