Skip to content

Conversation

@phrdang
Copy link
Member

@phrdang phrdang commented Aug 4, 2020

Reverts #39

I forgot that this includes changes from #41 so that got merged too even though I only wanted to merge the 2 problems @Citrus716 added for Ch. 10. (Next time Ke Hao please separate the code into different branches maybe? Or keep it all in one PR.)

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lintly has detected code quality issues in this pull request.

@@ -1,12 +1,12 @@
"""
Alternating
"""
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291: trailing whitespace

1 on each side, and 4 on the diagonals, for 8 in total. Each
pixel doesn't necessarily have 8 neighbors, though (think about why).
The neighbors of an image are all the pixels that surroun it,
1 on each side, and 4 on the diagonals, for 8 in total.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291: trailing whitespace

were [20, 30, 40] and [10, 120, 30], the new pixel that would replace the
original one would be [15, 75, 35]
For example, if the neighbors of a pixel with value [1,2,3]
were [20,30,40] and [10,120,30], the new pixel that would replace the original one would be
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501: line too long (91 > 79 characters)

1 on each side, and 4 on the diagonals, for 8 in total. Each
pixel doesn't necessarily have 8 neighbors, though (think about why).
The neighbors of an image are all the pixels that surroun it,
1 on each side, and 4 on the diagonals, for 8 in total.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291: trailing whitespace

were [20, 30, 40] and [10, 120, 30], the new pixel that would replace the
original one would be [15, 75, 35]
For example, if the neighbors of a pixel with value [1,2,3]
were [20,30,40] and [10,120,30], the new pixel that would replace the original one would be
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501: line too long (91 > 79 characters)

i is associated with values
"""
"""Iterating over the image here. i is a variable from 0 to the width of the image.
j is a variable that ranges from 0 to the height of the image. i is associated with
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191: indentation contains tabs

i is associated with values
"""
"""Iterating over the image here. i is a variable from 0 to the width of the image.
j is a variable that ranges from 0 to the height of the image. i is associated with
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101: indentation contains mixed spaces and tabs

i is associated with values
"""
"""Iterating over the image here. i is a variable from 0 to the width of the image.
j is a variable that ranges from 0 to the height of the image. i is associated with
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501: line too long (84 > 79 characters)

"""
"""Iterating over the image here. i is a variable from 0 to the width of the image.
j is a variable that ranges from 0 to the height of the image. i is associated with
values"""
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191: indentation contains tabs

"""
"""Iterating over the image here. i is a variable from 0 to the width of the image.
j is a variable that ranges from 0 to the height of the image. i is associated with
values"""
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101: indentation contains mixed spaces and tabs

@phrdang
Copy link
Member Author

phrdang commented Aug 4, 2020

You know what this is getting a bit confusing let's just deal with it on the side outside of GitHub :/

@phrdang phrdang closed this Aug 4, 2020
@phrdang phrdang deleted the revert-39-kehao-ch10problems branch August 4, 2020 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants