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

Use flake8 #93

Merged
merged 32 commits into from
Feb 2, 2019
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d902ea4
Require flake8 be installed on CI
jakirkham Feb 2, 2019
6957732
Require `flake8` and `pytest-flake8` for testing
jakirkham Feb 2, 2019
60f052d
Ensure flake8 is run with pytest
jakirkham Feb 2, 2019
165ba06
Exclude versioneer and docs from flake8
jakirkham Feb 2, 2019
cfd913c
Drop unused external imports caught by flake8
jakirkham Feb 2, 2019
221a813
Wrap long warning line
jakirkham Feb 2, 2019
7550d71
Break up warning string across multiple lines
jakirkham Feb 2, 2019
bc51d97
Drop some internal unused imports
jakirkham Feb 2, 2019
ff51bdc
Avoid flake8 unused import error
jakirkham Feb 2, 2019
fce0376
Reorder imports in ndfilters
jakirkham Feb 2, 2019
579a709
Ignore `lambda` assignment with flake8
jakirkham Feb 2, 2019
a0d4cb5
Adjust line wrapping of `lambda`
jakirkham Feb 2, 2019
3277a00
Disable the flake8 lambda assignment on both lines
jakirkham Feb 2, 2019
d4b2478
Drop flake8 noqa from second `lambda` line
jakirkham Feb 2, 2019
c4bc4dd
Remove whitespace before `:` for flake8
jakirkham Feb 2, 2019
a78024b
Have flake8 ignore `lambda` assignment
jakirkham Feb 2, 2019
9a922fe
Wrap parameterized arguments
jakirkham Feb 2, 2019
727df5e
Wrap test parameterized arguments
jakirkham Feb 2, 2019
efce8ac
Ignore `lambda` assignment with flake8
jakirkham Feb 2, 2019
c333600
Wrap parameterized arguments
jakirkham Feb 2, 2019
4526740
Wrap parameterized arguments
jakirkham Feb 2, 2019
53f6bc6
Ignore `lambda` assignment with flake8
jakirkham Feb 2, 2019
c85f741
Trim whitespace before `:` in `lambda` for flake8
jakirkham Feb 2, 2019
8cdcb4d
Ignore `lambda` assignment with flake8
jakirkham Feb 2, 2019
2d0ffca
Drop extra blank line
jakirkham Feb 2, 2019
d17122c
Compare `str`s with `==`s instead of `is`
jakirkham Feb 2, 2019
94737d2
Drop unused import
jakirkham Feb 2, 2019
5c1c680
Allow a couple of long lines
jakirkham Feb 2, 2019
b917c5a
Require flake8 and pytest plugin on Python 3.5
jakirkham Feb 2, 2019
b78e404
Switch to `[tool:pytest]` in `setup.cfg`
jakirkham Feb 2, 2019
b854202
Cleanup SciPy check in `test_fourier_filter_type`
jakirkham Feb 2, 2019
161b423
Cleanup SciPy check in `test_measure_props`
jakirkham Feb 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Drop unused import
As the `operator` module is not being used in this test module, drop it
from the imports.
  • Loading branch information
jakirkham committed Feb 2, 2019
commit 94737d2c8d99c544a04c6511a5ef8c07fd9cc9c5
2 changes: 0 additions & 2 deletions tests/test_dask_image/test_ndmeasure/test__utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

from __future__ import absolute_import

import operator

import pytest

import numpy as np
Expand Down