Skip to content
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

chore: use stricter linting for builds #358

Merged

Conversation

maschad
Copy link
Member

@maschad maschad commented Jan 27, 2025

Closes #359

I've also introduced a .codecov file

Copy link
Contributor

@jorgeantonio21 jorgeantonio21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

Left a few (nitty) comments.

atoma-sui/src/client.rs Outdated Show resolved Hide resolved
atoma-sui/src/client.rs Show resolved Hide resolved
atoma-sui/src/config.rs Show resolved Hide resolved
atoma-sui/src/subscriber.rs Show resolved Hide resolved
atoma-sui/src/subscriber.rs Show resolved Hide resolved
atoma-sui/src/subscriber.rs Show resolved Hide resolved
atoma-utils/src/hashing.rs Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@maschad maschad marked this pull request as ready for review January 28, 2025 23:39
@maschad maschad self-assigned this Jan 28, 2025
@maschad maschad added documentation Improvements or additions to documentation enhancement New feature or request optimizations github_actions Pull requests that update GitHub Actions code labels Jan 28, 2025
Comment on lines +1 to +7
#![allow(clippy::cast_possible_truncation)]
#![allow(clippy::cast_possible_wrap)]
#![allow(clippy::cast_precision_loss)]
#![allow(clippy::missing_docs_in_private_items)]
#![allow(clippy::doc_markdown)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::cast_sign_loss)]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will require quite significant changes, the most substantive being related to

#![allow(clippy::cast_sign_loss)]
#![allow(clippy::cast_possible_truncation)]
#![allow(clippy::cast_possible_wrap)]
#![allow(clippy::cast_precision_loss)]

I've outlined the issue more in #374

Copy link
Contributor

@jorgeantonio21 jorgeantonio21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jorgeantonio21 jorgeantonio21 merged commit 863a867 into atoma-network:main Jan 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request github_actions Pull requests that update GitHub Actions code optimizations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use stricter linting on CI with Clippy
3 participants