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

Automated Resyntax fixes #107

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Automated Resyntax fixes #107

merged 1 commit into from
Oct 26, 2024

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Oct 26, 2024

This is an automated change generated by Resyntax.

Pass 1

Applied 1 fix to gui/mixins.rkt

  • Line 11, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to bestiary.rkt

  • Line 7, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/level-picker.rkt

  • Line 10, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 2 fixes to gui/common-menu.rkt

  • Line 15, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 42, inline-unnecessary-define: This variable is returned immediately and can be inlined.

Applied 1 fix to gui/monster-modifier.rkt

  • Line 23, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/round-number.rkt

  • Line 9, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/round-prompts.rkt

  • Line 15, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/rewards.rkt

  • Line 11, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/table.rkt

  • Line 27, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to enum-helpers.rkt

  • Line 6, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 2 fixes to aoe.rkt

  • Line 5, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 35, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/loot.rkt

  • Line 23, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 2 fixes to monster-db.rkt

  • Line 11, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 41, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 2 fixes to gui/rich-text-display.rkt

  • Line 23, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 49, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/manager.rkt

  • Line 31, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/number-players.rkt

  • Line 10, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 2 fixes to pp/bestiary.rkt

  • Line 7, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 35, single-clause-match-to-match-define: This match expression can be simplified using match-define.

Applied 2 fixes to gui/player-info.rkt

  • Line 17, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 236, map-to-for: This map operation can be replaced with a for/list loop.

Applied 1 fix to gui/server.rkt

  • Line 7, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 1 fix to gui/render.rkt

  • Line 15, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Summary

Fixed 26 issues in 20 files.

  • Fixed 23 occurrences of tidy-require
  • Fixed 1 occurrence of inline-unnecessary-define
  • Fixed 1 occurrence of map-to-for
  • Fixed 1 occurrence of single-clause-match-to-match-define

This is an automated change generated by Resyntax.

#### Pass 1

Applied 1 fix to [`gui/mixins.rkt`](../blob/HEAD/gui/mixins.rkt)

  * Line 11, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`bestiary.rkt`](../blob/HEAD/bestiary.rkt)

  * Line 7, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/level-picker.rkt`](../blob/HEAD/gui/level-picker.rkt)

  * Line 10, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 2 fixes to [`gui/common-menu.rkt`](../blob/HEAD/gui/common-menu.rkt)

  * Line 15, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 42, `inline-unnecessary-define`: This variable is returned immediately and can be inlined.

Applied 1 fix to [`gui/monster-modifier.rkt`](../blob/HEAD/gui/monster-modifier.rkt)

  * Line 23, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/round-number.rkt`](../blob/HEAD/gui/round-number.rkt)

  * Line 9, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/round-prompts.rkt`](../blob/HEAD/gui/round-prompts.rkt)

  * Line 15, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/rewards.rkt`](../blob/HEAD/gui/rewards.rkt)

  * Line 11, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/table.rkt`](../blob/HEAD/gui/table.rkt)

  * Line 27, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`enum-helpers.rkt`](../blob/HEAD/enum-helpers.rkt)

  * Line 6, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 2 fixes to [`aoe.rkt`](../blob/HEAD/aoe.rkt)

  * Line 5, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 35, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/loot.rkt`](../blob/HEAD/gui/loot.rkt)

  * Line 23, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 2 fixes to [`monster-db.rkt`](../blob/HEAD/monster-db.rkt)

  * Line 11, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 41, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 2 fixes to [`gui/rich-text-display.rkt`](../blob/HEAD/gui/rich-text-display.rkt)

  * Line 23, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 49, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/manager.rkt`](../blob/HEAD/gui/manager.rkt)

  * Line 31, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/number-players.rkt`](../blob/HEAD/gui/number-players.rkt)

  * Line 10, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 2 fixes to [`pp/bestiary.rkt`](../blob/HEAD/pp/bestiary.rkt)

  * Line 7, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 35, `single-clause-match-to-match-define`: This `match` expression can be simplified using `match-define`.

Applied 2 fixes to [`gui/player-info.rkt`](../blob/HEAD/gui/player-info.rkt)

  * Line 17, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 236, `map-to-for`: This `map` operation can be replaced with a `for/list` loop.

Applied 1 fix to [`gui/server.rkt`](../blob/HEAD/gui/server.rkt)

  * Line 7, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 1 fix to [`gui/render.rkt`](../blob/HEAD/gui/render.rkt)

  * Line 15, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

## Summary

Fixed 26 issues in 20 files.

  * Fixed 23 occurrences of `tidy-require`
  * Fixed 1 occurrence of `inline-unnecessary-define`
  * Fixed 1 occurrence of `map-to-for`
  * Fixed 1 occurrence of `single-clause-match-to-match-define`
@benknoble benknoble merged commit fe9d67b into main Oct 26, 2024
3 checks passed
@benknoble benknoble deleted the autofix-4-1 branch October 26, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant