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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sweep Rules] Fix indentation and spacing in python/collatz/MaxSequence.py #22

Closed
wants to merge 5 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Feb 17, 2024

PR Feedback (click)

  • 馃憤 Sweep Did Well
  • 馃憥 Sweep Needs Improvement

I created this PR to address this rule:

"Code should be properly indented and follow consistent spacing conventions."

Description

This PR fixes the indentation and spacing issues in the python/collatz/MaxSequence.py file. The code has been indented using 4 spaces for each level of indentation. Additionally, spaces have been added after commas and around operators for better readability.

Summary of Changes

  • Indented the code inside the collatz function and the findMaxCollatz function using 4 spaces.
  • Added a space after the comma in the result = (number, len) line.
  • Added spaces around the ==, //, and * operators for better readability.

Please review and merge this PR to ensure proper indentation and consistent spacing in the code.

Copy link
Contributor Author

sweep-ai bot commented Feb 17, 2024

Rollback Files For Sweep

  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py
  • Rollback changes to python/collatz/MaxSequence.py

@sweep-ai sweep-ai bot added the sweep label Feb 17, 2024
@leon0399 leon0399 closed this Feb 17, 2024
@leon0399 leon0399 deleted the sweep/fix-indentation-spacing branch February 18, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant