mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	flake8: E128 continuation line under-indented for visual indent
This commit is contained in:
		
							parent
							
								
									717add44b0
								
							
						
					
					
						commit
						94c94eb1f7
					
				| 
						 | 
					@ -15,8 +15,10 @@ class TestUnsupportedWebp(PillowTestCase):
 | 
				
			||||||
            WebPImagePlugin.SUPPORTED = False
 | 
					            WebPImagePlugin.SUPPORTED = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        file_path = "Tests/images/hopper.webp"
 | 
					        file_path = "Tests/images/hopper.webp"
 | 
				
			||||||
        self.assert_warning(UserWarning,
 | 
					        self.assert_warning(
 | 
				
			||||||
            lambda: self.assertRaises(IOError, Image.open, file_path))
 | 
					            UserWarning,
 | 
				
			||||||
 | 
					            lambda: self.assertRaises(IOError, Image.open, file_path)
 | 
				
			||||||
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if HAVE_WEBP:
 | 
					        if HAVE_WEBP:
 | 
				
			||||||
            WebPImagePlugin.SUPPORTED = True
 | 
					            WebPImagePlugin.SUPPORTED = True
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -402,7 +402,7 @@ class TestImageCms(PillowTestCase):
 | 
				
			||||||
        def create_test_image():
 | 
					        def create_test_image():
 | 
				
			||||||
            # set up test image with something interesting in the tested aux
 | 
					            # set up test image with something interesting in the tested aux
 | 
				
			||||||
            # channel.
 | 
					            # channel.
 | 
				
			||||||
            nine_grid_deltas = [
 | 
					            nine_grid_deltas = [  # noqa: E128
 | 
				
			||||||
                (-1, -1), (-1, 0), (-1, 1),
 | 
					                (-1, -1), (-1, 0), (-1, 1),
 | 
				
			||||||
                 (0, -1),  (0, 0),  (0, 1),
 | 
					                 (0, -1),  (0, 0),  (0, 1),
 | 
				
			||||||
                 (1, -1),  (1, 0),  (1, 1),
 | 
					                 (1, -1),  (1, 0),  (1, 1),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -578,7 +578,7 @@ RAWMODE = {
 | 
				
			||||||
    "YCbCr": "YCbCr",
 | 
					    "YCbCr": "YCbCr",
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
zigzag_index = (0,  1,  5,  6, 14, 15, 27, 28,
 | 
					zigzag_index = (0,  1,  5,  6, 14, 15, 27, 28,  # noqa: E128
 | 
				
			||||||
                2,  4,  7, 13, 16, 26, 29, 42,
 | 
					                2,  4,  7, 13, 16, 26, 29, 42,
 | 
				
			||||||
                3,  8, 12, 17, 25, 30, 41, 43,
 | 
					                3,  8, 12, 17, 25, 30, 41, 43,
 | 
				
			||||||
                9, 11, 18, 24, 31, 40, 44, 53,
 | 
					                9, 11, 18, 24, 31, 40, 44, 53,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -66,7 +66,7 @@ Libjpeg ref.: https://web.archive.org/web/20120328125543/http://www.jpegcameras.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
presets = {
 | 
					presets = {  # noqa: E128
 | 
				
			||||||
            'web_low':      {'subsampling':  2,  # "4:2:0"
 | 
					            'web_low':      {'subsampling':  2,  # "4:2:0"
 | 
				
			||||||
                             'quantization': [
 | 
					                             'quantization': [
 | 
				
			||||||
                               [20, 16, 25, 39, 50, 46, 62, 68,
 | 
					                               [20, 16, 25, 39, 50, 46, 62, 68,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user