Skip to content

chore: Add fmt and tests, add rustfmt config#71

Merged
define-null merged 1 commit into
masterfrom
defnull/ci-cd
May 28, 2026
Merged

chore: Add fmt and tests, add rustfmt config#71
define-null merged 1 commit into
masterfrom
defnull/ci-cd

Conversation

@define-null
Copy link
Copy Markdown
Contributor

What is this PR about?

PR adds steps for running formatting and tests.

Formatting

Different files in the codebase have been using different styles — trailing commas, blank lines, import ordering, line width, etc. Since a bulk reformatting is unavoidable regardless, rustfmt.toml sets reasonable defaults rather than relying on rustfmt's out-of-the-box settings:

  • max_width = 120 — avoids aggressive line wrapping
  • group_imports = "StdExternalCrate" — enforces consistent import grouping
  • trailing_comma = "Never" — matches the predominant style in the codebase

Git blame

This PR contains a bulk formatting commit. After merging, a .git-blame-ignore-revs file should be added with the formatting commit hash to keep git blame useful.

GitHub picks up .git-blame-ignore-revs automatically — no action needed.

Local git — run once: git config blame.ignoreRevsFile .git-blame-ignore-revs

See git-blame docs for details.

@define-null define-null requested a review from mo4islona May 27, 2026 22:26
@define-null define-null merged commit 9baed47 into master May 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants