GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — style: Format sources using astyle 3.0.1 by jcfr · Pull Request #515 · cppcheck-opensource/simplecpp

Conversation

@jcfr

@jcfr jcfr commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

This pull request reformats the codebase using astyle 3.0.1 to ensure consistency with the project’s current style guidelines.

Context

As noted in the review (#508 (comment)), the long-term plan is to transition formatting to uncrustify (likely by adapting the runformat script from the cppcheck repo). While that transition is being worked out, this change helps keep the repository consistent and avoids confusion for contributors.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jcfr
style: Format sources using astyle 3.0.1
48cb87f
This change applies code formatting to the source files using astyle version
3.0.1 according to the project's style guidelines.

Changes are purely stylistic with no functional modifications.
@jcfr

jcfr commented Aug 28, 2025

Copy link
Copy Markdown
Contributor Author

cc: @danmar

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@danmar

danmar commented Aug 28, 2025

Copy link
Copy Markdown
Collaborator

This pull request reformats the codebase using astyle 3.0.1 to ensure consistency with the project’s current style guidelines.

it just creates extra stylistic changes in the git log. when we move to uncrustify we'll probably need to do something like this again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@danmar danmar closed this Aug 28, 2025
@jcfr
jcfr deleted the astyle-3.0.1-format branch August 28, 2025 16:42
@jcfr

jcfr commented Aug 28, 2025

Copy link
Copy Markdown
Contributor Author

Thanks for taking the time to follow up 🙏

Looking forward to the improved code formatting infrastructure.

If possible consider:

  • adding a pre-commit.yml GitHub workflow
  • adding .git-blame-ignore-revs to ensure the stylistic changes do not pollute the history
  • (ideally) having the corresponding binary available through tooling like uvx or pipx.

it just creates extra stylistic changes in the git log.

I should have specified that this type of changes should be added to .git-blame-ignore-revs to address this.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Aug 28, 2025
Switch to uncrustify #517
Merged
chore: Improve attribution by ignoring bulk formatting #518
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jcfr @danmar
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.