Skip to content

Commit

Permalink
Clippied
Browse files Browse the repository at this point in the history
  • Loading branch information
labra committed Oct 29, 2024
1 parent ba5bb9d commit 6876e64
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions python/src/pyrudof_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ impl PyRudofConfig {
}
}

impl Default for PyRudofConfig {
fn default() -> Self {
Self {
inner: Default::default(),
}
}
}

#[pyclass(unsendable, name = "Rudof")]
pub struct PyRudof {
inner: Rudof,
Expand Down Expand Up @@ -423,9 +415,9 @@ impl PyReaderMode {
}
}

#[allow(clippy::upper_case_acronyms)]
#[pyclass(eq, eq_int, name = "RDFFormat")]
#[derive(PartialEq)]

pub enum PyRDFFormat {
Turtle,
NTriples,
Expand All @@ -435,20 +427,23 @@ pub enum PyRDFFormat {
NQuads,
}

#[allow(clippy::upper_case_acronyms)]
#[pyclass(eq, eq_int, name = "DCTapFormat")]
#[derive(PartialEq)]
pub enum PyDCTapFormat {
CSV,
XLSX,
}

#[allow(clippy::upper_case_acronyms)]
#[pyclass(eq, eq_int, name = "ShapeMapFormat")]
#[derive(PartialEq)]
pub enum PyShapeMapFormat {
Compact,
JSON,
}

#[allow(clippy::upper_case_acronyms)]
#[pyclass(eq, eq_int, name = "ShExFormat")]
#[derive(PartialEq)]
pub enum PyShExFormat {
Expand All @@ -457,6 +452,7 @@ pub enum PyShExFormat {
Turtle,
}

#[allow(clippy::upper_case_acronyms)]
#[pyclass(eq, eq_int, name = "ShaclFormat")]
#[derive(PartialEq)]
pub enum PyShaclFormat {
Expand Down

0 comments on commit 6876e64

Please sign in to comment.