Move PyO3 derive down (#3434)

## Summary

For some reason the current order is breaking the IntelliJ LSP.
This commit is contained in:
Charlie Marsh 2024-05-07 14:16:28 -04:00 committed by GitHub
parent e8b423de77
commit d665410d59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,