From d665410d5961d7fbe281b7f8577cd7fc5961c8e8 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 7 May 2024 14:16:28 -0400 Subject: [PATCH] Move PyO3 derive down (#3434) ## Summary For some reason the current order is breaking the IntelliJ LSP. --- crates/pep508-rs/src/marker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pep508-rs/src/marker.rs b/crates/pep508-rs/src/marker.rs index bd9ac5905..68c954dc5 100644 --- a/crates/pep508-rs/src/marker.rs +++ b/crates/pep508-rs/src/marker.rs @@ -360,8 +360,8 @@ impl Deref for StringVersion { /// /// Some are `(String, Version)` because we have to support version comparison #[allow(missing_docs, clippy::unsafe_derive_deserialize)] -#[cfg_attr(feature = "pyo3", pyclass(get_all, module = "pep508"))] #[derive(Clone, Debug, Eq, Hash, PartialEq, serde::Deserialize, serde::Serialize)] +#[cfg_attr(feature = "pyo3", pyclass(get_all, module = "pep508"))] pub struct MarkerEnvironment { pub implementation_name: String, pub implementation_version: StringVersion,