Skip to content

Commit

Permalink
Add nucliadb_relations folders to pre-commit config (#1692)
Browse files Browse the repository at this point in the history
* Add nucliadb_relations folders to pre-commit config

* Modify regex to get all folder versions
  • Loading branch information
jotare authored Jan 2, 2024
1 parent dec39c1 commit 16d2fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ repos:
name: fmt
entry: cargo +nightly fmt --check
language: system
files: (^nucliadb_vectors/)|(^nucliadb_node/)|(^nucliadb_paragraphs/)|(^nucliadb_texts/)
files: (^nucliadb_vectors*/)|(^nucliadb_node*/)|(^nucliadb_paragraphs*/)|(^nucliadb_texts*/)|(^nucliadb_relations*/)
types: ["rust"]
pass_filenames: false

- id: clippy_nucliadb
name: clippy
entry: cargo clippy --all-features -- -D warnings
language: system
files: (^nucliadb_vectors/)|(^nucliadb_node/)|(^nucliadb_paragraphs/)|(^nucliadb_texts/)
files: (^nucliadb_vectors*/)|(^nucliadb_node*/)|(^nucliadb_paragraphs*/)|(^nucliadb_texts*/)|(^nucliadb_relations*/)
types: ["rust"]
pass_filenames: false

0 comments on commit 16d2fcc

Please sign in to comment.