mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 14:47:56 -05:00
chore: fix pcc
This commit is contained in:
@@ -10,7 +10,7 @@ const DIR_TO_IGNORE: [&str; 3] = [
|
||||
"tests/tfhe-backward-compat-data",
|
||||
];
|
||||
|
||||
const FILES_TO_IGNORE: [&str; 7] = [
|
||||
const FILES_TO_IGNORE: [&str; 8] = [
|
||||
// This contains fragments of code that are unrelated to TFHE-rs
|
||||
"tfhe/docs/tutorials/sha256_bool.md",
|
||||
// TODO: This contains code that could be executed as a trivium docstring
|
||||
@@ -23,6 +23,7 @@ const FILES_TO_IGNORE: [&str; 7] = [
|
||||
"tfhe-ntt/README.md",
|
||||
"utils/tfhe-lints/README.md",
|
||||
"CONTRIBUTING.md",
|
||||
"backends/tfhe-hpu-backend/Readme.md",
|
||||
];
|
||||
|
||||
pub fn check_tfhe_docs_are_tested() -> Result<(), Error> {
|
||||
|
||||
@@ -240,3 +240,13 @@ mod test_gpu_doc {
|
||||
configuration_gpu_acceleration_multi_gpu_device_selection
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg(feature = "hpu")]
|
||||
mod test_hpu_doc {
|
||||
use doc_comment::doctest;
|
||||
|
||||
doctest!(
|
||||
"../docs/configuration/hpu_acceleration/run_on_hpu.md",
|
||||
configuration_hpu_acceleration_run_on_hpu
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user