From dbe28badbbd542b39ce77a39aed5f012f55df95a Mon Sep 17 00:00:00 2001 From: erikkaum Date: Mon, 19 Aug 2024 14:06:39 +0200 Subject: [PATCH] run pre commit --- .gitignore | 2 +- bindings/python/Manifest.in | 4 ++-- bindings/python/rust/lib.rs | 1 - justfile | 1 - outlines-core/src/lib.rs | 4 ++-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f3005168..1f8c7e63 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ benchmarks/results **/dist/ bindings/python/build -bindings/python/src/outlines_core \ No newline at end of file +bindings/python/src/outlines_core diff --git a/bindings/python/Manifest.in b/bindings/python/Manifest.in index 8b5bea03..02bee506 100644 --- a/bindings/python/Manifest.in +++ b/bindings/python/Manifest.in @@ -1,4 +1,4 @@ -graft src +graft src graft rust include Cargo.toml @@ -6,4 +6,4 @@ global-exclude */__pycache__/* global-exclude *.pyc recursive-include outlines-core-lib * -recursive-exclude outlines-core/target * \ No newline at end of file +recursive-exclude outlines-core/target * diff --git a/bindings/python/rust/lib.rs b/bindings/python/rust/lib.rs index bf25c8cd..0b0523bc 100644 --- a/bindings/python/rust/lib.rs +++ b/bindings/python/rust/lib.rs @@ -10,4 +10,3 @@ mod _lib { Ok(core_lib::hello()) } } - diff --git a/justfile b/justfile index 21f1be7a..e2588cab 100644 --- a/justfile +++ b/justfile @@ -14,4 +14,3 @@ build-python: python -m build && \ rm outlines-core-lib && \ sed -i '' 's|path = "outlines-core-lib"|path = "../../outlines-core"|' Cargo.toml - diff --git a/outlines-core/src/lib.rs b/outlines-core/src/lib.rs index c5b1e0f3..8957cb2b 100644 --- a/outlines-core/src/lib.rs +++ b/outlines-core/src/lib.rs @@ -1,4 +1,4 @@ pub fn hello() -> String { - "world ".to_string() -} \ No newline at end of file + "world ".to_string() +}