Skip to content

Conversation

@SuperFluffy
Copy link
Contributor

Summary

Implement all clippy pedantic suggestions for conductor, activate in CI.

Background

These changes were made for consistency. All repositories should be checked with clippy pedantic.

Changes

  • Run cargo clippy -- -W clippy::pedantic, fix all nags
  • Remove astria-conductor from the --exclude list in the clippy CI.
  • Shuffle around some code (remove types module, move it under executor and data_availability, where they are more appropriate)
    -Slim down functions that were too big and unwieldy

Testing

All tests still pass. No extra tests are necessary because no structural refactoring took place.

Related Issues

Closes #570

@SuperFluffy SuperFluffy requested review from a team, joroshiba and noot as code owners November 9, 2023 08:57
@SuperFluffy SuperFluffy requested a review from a team November 9, 2023 08:57
@github-actions github-actions bot added ci issues that are related to ci and github workflows conductor pertaining to the astria-conductor crate labels Nov 9, 2023
@SuperFluffy SuperFluffy changed the title Superfluffy/pedantic conductor chore(conductor): implement clippy pedantic suggestions Nov 9, 2023
@SuperFluffy SuperFluffy merged commit 709c06c into main Nov 10, 2023
@SuperFluffy SuperFluffy deleted the superfluffy/pedantic-conductor branch November 10, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci issues that are related to ci and github workflows conductor pertaining to the astria-conductor crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement pedantic clippy checks for conductor

4 participants