-
Notifications
You must be signed in to change notification settings - Fork 2
trying out pre commit hook [TEST] #73
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
base: main
Are you sure you want to change the base?
Conversation
tests/test_blob_func.py
Outdated
| for i in range(3): | ||
| timg[i, rRowInds[0]: rRowInds[1], rColInds[0]: rColInds[1]] = 100 | ||
| timg[-1, rRowInds[0]: rRowInds[1], rColInds[0]: rColInds[1]] = 255 | ||
| timg[i, rRowInds[0] : rRowInds[1], rColInds[0] : rColInds[1]] = 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
black is adding these, which flake8 does not like. @perrygeo @sgillies @normanb @vincentsarago seen this before? Also is doing the same on a dummy file:
an_indexable_list = list(range(10))
a = [1]
b = [3]
c = [5]
an_indexable_list[a[0]:b[0]]
an_indexable_list[b[0]:c[0]]Is black formatted to
an_indexable_list = list(range(10))
a = [1]
b = [3]
c = [5]
an_indexable_list[a[0] : b[0]]
an_indexable_list[b[0] : c[0]]This only occurs when the indexing variable is itself indexed, ie this passes both:
an_indexable_list = list(range(10))
a = 1
b = 3
c = 5
an_indexable_list[a:b]
an_indexable_list[b:c]| rev: v1.2.3 | ||
| hooks: | ||
| - id: flake8 | ||
| args: [--max-line-length=88] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to sync the pre-commit config with PXM's.
No description provided.