Skip to content

Commit 5447f6f

Browse files
committed
cleanup
1 parent 5440b81 commit 5447f6f

5 files changed

Lines changed: 6 additions & 13 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "stam"
1717
crate-type = ["cdylib"]
1818

1919
[dependencies]
20-
pyo3 = "0.18.0"
20+
pyo3 = "0.18.2"
2121
stam = "0.3.0"
2222

2323
#compile against development version: (doesn't work when building with maturin for pypi)

src/annotationdata.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
use pyo3::exceptions::{PyException, PyIndexError, PyKeyError, PyRuntimeError, PyValueError};
1+
use pyo3::exceptions::PyRuntimeError;
22
use pyo3::prelude::*;
33
use pyo3::pyclass::CompareOp;
44
use pyo3::types::*;
5-
use std::fmt::Display;
65
use std::ops::FnOnce;
76
use std::sync::{Arc, RwLock};
87

src/annotationdataset.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
use pyo3::exceptions::{PyException, PyIndexError, PyKeyError, PyRuntimeError, PyValueError};
1+
use pyo3::exceptions::PyRuntimeError;
22
use pyo3::prelude::*;
33
use pyo3::pyclass::CompareOp;
4-
use pyo3::types::*;
54
use std::ops::FnOnce;
65
use std::sync::{Arc, RwLock};
76

8-
use crate::annotationdata::{py_into_datavalue, PyAnnotationData, PyDataKey, PyDataValue};
7+
use crate::annotationdata::{py_into_datavalue, PyAnnotationData, PyDataKey};
98
use crate::error::PyStamError;
109
use crate::selector::PySelector;
1110
use stam::*;

src/resources.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
use pyo3::exceptions::{PyException, PyIndexError, PyKeyError, PyRuntimeError, PyValueError};
1+
use pyo3::exceptions::{PyRuntimeError, PyValueError};
22
use pyo3::prelude::*;
33
use pyo3::pyclass::CompareOp;
44
use pyo3::types::*;
55
use std::ops::FnOnce;
66
use std::sync::{Arc, RwLock};
77

8-
use crate::annotationstore::MapStore;
98
use crate::error::PyStamError;
109
use crate::selector::PySelector;
1110
use stam::*;

src/selector.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
use pyo3::exceptions::{PyException, PyIndexError, PyKeyError, PyRuntimeError, PyValueError};
1+
use pyo3::exceptions::PyValueError;
22
use pyo3::prelude::*;
33
use pyo3::pyclass::CompareOp;
4-
use pyo3::types::*;
5-
use std::ops::FnOnce;
6-
use std::sync::{Arc, RwLock};
74

85
use crate::annotation::PyAnnotation;
96
use crate::annotationdataset::PyAnnotationDataSet;
10-
use crate::error::PyStamError;
117
use crate::resources::{PyOffset, PyTextResource};
128
use stam::*;
139

0 commit comments

Comments
 (0)