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

[Sweep Rules] Fix line length in confirm_template.html #70

Closed
wants to merge 2 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Nov 14, 2023

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement

I created this PR to address this rule:

"Limit line length to 121 characters."

Description

This PR fixes the line length issue in the confirm_template.html file. The lines in this file were exceeding the maximum allowed length of 121 characters, which violated our code style guidelines. To address this, the long lines have been broken down into multiple shorter lines to improve readability and conform to the code style guidelines.

Summary of Changes

  • Modified the confirm_template.html file in the src/templates directory.
  • Identified lines that exceeded the maximum length of 121 characters.
  • Broke down the long lines into multiple shorter lines using line breaks or indentation.
  • Ensured that all lines in the file now conform to the maximum line length rule.

Please review the changes and merge this PR if they meet the code style guidelines.

Copy link
Contributor Author

sweep-ai bot commented Nov 14, 2023

Rollback Files For Sweep

  • Rollback changes to src/templates/confirm_template.html
  • Rollback changes to src/templates/confirm_template.html
  • Rollback changes to src/templates/confirm_template.html
  • Rollback changes to src/templates/confirm_template.html
  • Rollback changes to src/templates/confirm_template.html

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Nov 14, 2023
Copy link
Contributor Author

sweep-ai bot commented Nov 14, 2023

Sandbox Executions

  • Check src/templates/confirm_template.html
Sandbox logs for
pre-commit run --files src/templates/confirm_template.html 1/1 ❌ (`1`)
[INFO] Initializing environment for https://github.com/ambv/black.
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/ambv/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
black................................................(no files to check)Skipped
ruff.................................................(no files to check)Skipped
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check that executables have shebangs.................(no files to check)Skipped
check that scripts with shebangs are executable..........................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
check toml...........................................(no files to check)Skipped
check yaml...........................................(no files to check)Skipped
debug statements (python)............................(no files to check)Skipped
trim trailing whitespace.................................................Failed
- hook id: trailing-whitespace
- exit code: 1
- files were modified by this hook
Fixing src/templates/confirm_template.html
  • Check src/templates/confirm_template.html
Sandbox logs for
pre-commit run --files src/templates/confirm_template.html 1/1 ✓
[INFO] Initializing environment for https://github.com/ambv/black.
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/ambv/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
black................................................(no files to check)Skipped
ruff.................................................(no files to check)Skipped
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check that executables have shebangs.................(no files to check)Skipped
check that scripts with shebangs are executable..........................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
check toml...........................................(no files to check)Skipped
check yaml...........................................(no files to check)Skipped
debug statements (python)............................(no files to check)Skipped
trim trailing whitespace.................................................Passed
  • Check src/templates/confirm_template.html
Sandbox logs for
pre-commit run --files src/templates/confirm_template.html 1/1 ✓
[INFO] Initializing environment for https://github.com/ambv/black.
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/ambv/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
black................................................(no files to check)Skipped
ruff.................................................(no files to check)Skipped
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check that executables have shebangs.................(no files to check)Skipped
check that scripts with shebangs are executable..........................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
check toml...........................................(no files to check)Skipped
check yaml...........................................(no files to check)Skipped
debug statements (python)............................(no files to check)Skipped
trim trailing whitespace.................................................Passed

Copy link

commit-lint bot commented Nov 14, 2023

Features

  • Updated src/templates/confirm_template.html (d372423)
  • Updated src/templates/confirm_template.html (9b27014)

Contributors

sweep-ai[bot]

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@corp-0 corp-0 closed this Nov 14, 2023
@corp-0 corp-0 deleted the sweep/fix-line-length branch February 7, 2024 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant