-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
House keeping #117
House keeping #117
Conversation
.and_hms_opt(hour, minute, second) | ||
// .ymd(year as i32, month, day_of_month) | ||
// .and_hms_opt(hour, minute, second) | ||
.with_ymd_and_hms( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this might interfere with #115
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry I missed that this PR included the same fixes for fmt
and clippy
as I made in #123, sorry about that! But I didn't add any CI checks (which I should've) so this PR and changes still looks like a good one to merge!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to rebase this today!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Alextopher #129 just got merged. In case you are currently working on the rebase, I hope this message reaches you before another rebase causes you extra work.
How about adding the following clippy linting configuration to [lints.clippy]
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 } I also like to use these code quality compiler lints in my own projects: [lints.rust]
elided_lifetimes_in_paths = "warn"
future_incompatible = { level = "warn", priority = -1 }
let_underscore = { level = "warn", priority = -1 }
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
# must_not_suspend = "warn" # Unstable - tracked at https://github.com/rust-lang/rust/issues/83310
non_ascii_idents = "warn"
nonstandard_style = { level = "warn", priority = -1 }
noop_method_call = "warn"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }
unnameable_types = "warn"
unreachable_pub = "warn"
unused = { level = "warn", priority = -1 }
unused_crate_dependencies = "warn"
unused_lifetimes = "warn"
# lossy_provenance_casts = "deny" # Unstable - tracked at https://github.com/rust-lang/rust/issues/95228
# fuzzy_provenance_casts = "deny" # Unstable - tracked at https://github.com/rust-lang/rust/issues/95228
unsafe_code = "deny" # Exceptions must be discussed and deemed indispensable and use `#![deny(invalid_reference_casting, unsafe_op_in_unsafe_fn)]`.
|
Hi everyone, I looked into it and it doesn't seem like there's much more in this PR that is worth merging. A new PR is probably better, as for now I think I should close this PR and leave it an open project for someone else. Thanks! |
cargo fmt
cargo clippy
lintscargo fmt
andcargo clippy
There were a lot of lints in
tests
- to make my life easier I removed a lot of boilerplate.Better late than never 😄