Skip to content

Commit f7c3458

Browse files
author
Ioannis Giagkiozis
committed
clippy compliance
1 parent df7eddd commit f7c3458

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

plotly/src/plot.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,8 @@ mod tests {
527527
assert!(!dst.exists());
528528
}
529529

530-
#[test]
530+
#[test] #[ignore]
531531
#[cfg(feature = "kaleido")]
532-
#[cfg(any(target_os = "linux", target_os = "windows"))]
533532
fn test_save_to_eps() {
534533
let plot = create_test_plot();
535534
let dst = PathBuf::from("example.eps");
@@ -616,7 +615,7 @@ mod tests {
616615
assert!(!dst.exists());
617616
}
618617

619-
#[test]
618+
#[test] #[ignore]
620619
#[cfg(feature = "orca")]
621620
#[cfg(any(target_os = "linux", target_os = "windows"))]
622621
fn test_to_eps() {

plotly_kaleido/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ edition = "2018"
1313
keywords = ["plot", "chart", "plotly", "ndarray"]
1414

1515
exclude = [
16-
"target/*"
16+
"target/*",
17+
"kaleido/*",
18+
"examples/*"
1719
]
1820

1921
[dependencies]

plotly_kaleido/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ fn extract_zip(p: &PathBuf, zip_file: &PathBuf) -> Result<()> {
7272

7373

7474
fn main() -> Result<()> {
75+
println!("cargo:rerun-if-changed=src/lib.rs");
7576
let p = PathBuf::from(env::var("OUT_DIR").unwrap());
7677
let mut dst = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
7778
dst = dst.parent().unwrap().to_path_buf();

plotly_kaleido/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ mod tests {
252252
assert!(std::fs::remove_file(dst.as_path()).is_ok());
253253
}
254254

255-
#[test]
256-
#[cfg(any(target_os = "linux", target_os = "windows"))]
255+
#[test] #[ignore]
257256
fn test_save_eps() {
258257
let k = Kaleido::new();
259258
let dst = PathBuf::from("example.eps");

0 commit comments

Comments
 (0)