Browse Source

PEP8

Signed-off-by: Jerome Flesch <jflesch@openpaper.work>
tags/0.2.3
Jerome Flesch 1 year ago
parent
commit
3f92c2d8fd
4 changed files with 7 additions and 4 deletions
  1. 3
    1
      setup.py
  2. 0
    1
      tests/__init__.py
  3. 3
    1
      tests/tests_ace.py
  4. 1
    1
      tox.ini

+ 3
- 1
setup.py View File

@@ -24,7 +24,9 @@ setup(
" Stroke Width Transformation, etc"),
keywords="image processing algorithm pillow pil",
url="https://github.com/openpaperwork/libpillowfight#readme",
download_url="https://github.com/openpaperwork/libpillowfight/archive/v0.2.2.zip",
download_url=(
"https://github.com/openpaperwork/libpillowfight/archive/v0.2.2.zip"
),
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later"

+ 0
- 1
tests/__init__.py View File

@@ -1 +0,0 @@


+ 3
- 1
tests/tests_ace.py View File

@@ -10,7 +10,9 @@ class TestACE(unittest.TestCase):
def test_ace(self):
with tempfile.NamedTemporaryFile(suffix='.jpg') as tmpfile:
in_img = PIL.Image.open("tests/data/brightness_problem.jpg")
expected_img = PIL.Image.open("tests/data/brightness_problem_ace.jpg")
expected_img = PIL.Image.open(
"tests/data/brightness_problem_ace.jpg"
)

out_img = pillowfight.ace(in_img, seed=12345)
in_img.close()

+ 1
- 1
tox.ini View File

@@ -11,5 +11,5 @@ exclude =
build,
dist,
venv*,
*.egg-info,
*.egg*,
.git

Loading…
Cancel
Save