mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Bump pylint from 2.5.3 to 2.6.0 (#1262)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
		| @@ -138,6 +138,7 @@ def _parse_cron_int(value, special_mapping, message): | ||||
|     try: | ||||
|         return int(value) | ||||
|     except ValueError: | ||||
|         # pylint: disable=raise-missing-from | ||||
|         raise cv.Invalid(message.format(value)) | ||||
|  | ||||
|  | ||||
| @@ -158,6 +159,7 @@ def _parse_cron_part(part, min_value, max_value, special_mapping): | ||||
|         try: | ||||
|             repeat_n = int(repeat) | ||||
|         except ValueError: | ||||
|             # pylint: disable=raise-missing-from | ||||
|             raise cv.Invalid("Repeat for '/' time expression must be an integer, got {}" | ||||
|                              .format(repeat)) | ||||
|         return set(range(offset_n, max_value + 1, repeat_n)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user