mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	black --target-version py35
This commit is contained in:
		
							parent
							
								
									b4f93cf140
								
							
						
					
					
						commit
						6f88d8dd6b
					
				|  | @ -313,7 +313,7 @@ class ImageDraw: | ||||||
|                     language=language, |                     language=language, | ||||||
|                     stroke_width=stroke_width, |                     stroke_width=stroke_width, | ||||||
|                     *args, |                     *args, | ||||||
|                     **kwargs |                     **kwargs, | ||||||
|                 ) |                 ) | ||||||
|                 coord = coord[0] + offset[0], coord[1] + offset[1] |                 coord = coord[0] + offset[0], coord[1] + offset[1] | ||||||
|             except AttributeError: |             except AttributeError: | ||||||
|  | @ -326,7 +326,7 @@ class ImageDraw: | ||||||
|                         language, |                         language, | ||||||
|                         stroke_width, |                         stroke_width, | ||||||
|                         *args, |                         *args, | ||||||
|                         **kwargs |                         **kwargs, | ||||||
|                     ) |                     ) | ||||||
|                 except TypeError: |                 except TypeError: | ||||||
|                     mask = font.getmask(text) |                     mask = font.getmask(text) | ||||||
|  |  | ||||||
|  | @ -495,7 +495,7 @@ class Color3DLUT(MultibandFilter): | ||||||
|                             r / (size1D - 1), |                             r / (size1D - 1), | ||||||
|                             g / (size2D - 1), |                             g / (size2D - 1), | ||||||
|                             b / (size3D - 1), |                             b / (size3D - 1), | ||||||
|                             *values |                             *values, | ||||||
|                         ) |                         ) | ||||||
|                     else: |                     else: | ||||||
|                         values = callback(*values) |                         values = callback(*values) | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tox.ini
									
									
									
									
									
								
							|  | @ -24,7 +24,7 @@ deps = | ||||||
| 
 | 
 | ||||||
| [testenv:lint] | [testenv:lint] | ||||||
| commands = | commands = | ||||||
|     black --check --diff . |     black --target-version py35 --check --diff . | ||||||
|     flake8 --statistics --count |     flake8 --statistics --count | ||||||
|     isort --check-only --diff |     isort --check-only --diff | ||||||
|     check-manifest |     check-manifest | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user