We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assigned to: @izayaaaaaaa
According to rule E265 from the Flake8 Python rules:
Block comment should start with '# ' (E265) Block comments should have one space before the pound sign (#) and the comment itself. Anti-pattern #This comment needs a space def print_name(self): print(self.name) Best practice # Comment is correct now def print_name(self): print(self.name)
Block comment should start with '# ' (E265) Block comments should have one space before the pound sign (#) and the comment itself.
Anti-pattern #This comment needs a space def print_name(self): print(self.name)
#This comment needs a space
def print_name(self):
print(self.name)
Best practice # Comment is correct now def print_name(self): print(self.name)
# Comment is correct now
This means there should be one space between the hashtag sign (#) and the actual comment.
In main.py however, there is no spacing between the hashtag (#) and the content in the comments.
main.py
Current code: #sets the values to 0 Correct code: # sets the values to 0
#sets the values to 0
# sets the values to 0
Edit main.py and correct the comment formatting.
Create a new branch for this commit and start a pull request.
Propose changes
Fix comment formatting
Fixes #7
Create Pull Request
Once you've created the pull request, I'll review it.
If you have any questions, feel free to ask me here or on Discord.
The text was updated successfully, but these errors were encountered:
Merge pull request #13 from algodrip/Dev
1fa10e2
Optimization with a couple of fixes. This merge fixes issues: #7 #10, and #12
izayaaaaaaa
Successfully merging a pull request may close this issue.
Formatting of comments
Assigned to: @izayaaaaaaa
According to rule E265 from the Flake8 Python rules:
This means there should be one space between the hashtag sign (#) and the actual comment.
In
main.py
however, there is no spacing between the hashtag (#) and the content in the comments.Current code:
#sets the values to 0
Correct code:
# sets the values to 0
Specifications
Edit main.py and correct the comment formatting.
Create a new branch for this commit and start a pull request.
.Propose changes
to open a pull request.Fix comment formatting
.Fixes #7
to automatically close this issue once it's merged.Create Pull Request
.Once you've created the pull request, I'll review it.
If you have any questions, feel free to ask me here or on Discord.
The text was updated successfully, but these errors were encountered: