mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Variables can be None; update comment
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									eff78cb514
								
							
						
					
					
						commit
						98c7d90af6
					
				|  | @ -117,7 +117,7 @@ ignore = [ | |||
|   "E221", # Multiple spaces before operator | ||||
|   "E226", # Missing whitespace around arithmetic operator | ||||
|   "E241", # Multiple spaces after ',' | ||||
|   "PYI034", # flake8-pyi: typing.Self added in Python 3.10 | ||||
|   "PYI034", # flake8-pyi: typing.Self added in Python 3.11 | ||||
| ] | ||||
| 
 | ||||
| [tool.ruff.lint.per-file-ignores] | ||||
|  |  | |||
|  | @ -22,11 +22,11 @@ from typing import NamedTuple | |||
| 
 | ||||
| 
 | ||||
| class _TagInfo(NamedTuple): | ||||
|     value: int | ||||
|     value: int | None | ||||
|     name: str | ||||
|     type: int | ||||
|     length: int | ||||
|     enum: dict[int, str] | ||||
|     type: int | None | ||||
|     length: int | None | ||||
|     enum: dict[int, str] | None | ||||
| 
 | ||||
| 
 | ||||
| class TagInfo(_TagInfo): | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user