patch-removedarksky #74
							
								
								
									
										32
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,4 +1,34 @@ | ||||
| ### docs: fix unbalanced p (HEAD -> patch-Unbalanced_p) | ||||
| ### ``` Refactor pre-commit hook file list and output formatting (HEAD -> patch-removedarksky) | ||||
| >Wed, 5 Feb 2025 07:07:52 +0100 | ||||
|  | ||||
| >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||
|  | ||||
| >Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||
|  | ||||
| Updated the list of files in the pre-commit hook to remove | ||||
| references to 'lib/FHEM/APIs/Weather/DarkSkyAPI.pm' and adjusted | ||||
| the output formatting for better readability. The order of the | ||||
| files in the @filenames array has been restructured for clarity. | ||||
| These changes were necessary to ensure our code base focuses on | ||||
| the more relevant weather API files. | ||||
|  | ||||
| No breaking changes introduced; the pre-commit hook continues to | ||||
| function as intended. | ||||
| ``` | ||||
|  | ||||
|  | ||||
|  | ||||
| ### docs: add changelog | ||||
| >Tue, 4 Feb 2025 21:27:10 +0100 | ||||
|  | ||||
| >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||
|  | ||||
| >Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ### docs: fix unbalanced p | ||||
| >Tue, 4 Feb 2025 21:26:52 +0100 | ||||
|  | ||||
| >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| UPD 2025-02-04_21:25:55 25899 FHEM/59_Weather.pm | ||||
| UPD 2025-02-05_05:56:41 25899 FHEM/59_Weather.pm | ||||
| UPD 2025-02-04_21:08:26 34419 lib/FHEM/Core/Weather.pm | ||||
| UPD 2025-02-04_21:08:26 33780 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm | ||||
| UPD 2025-02-05_06:38:34 33780 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm | ||||
| UPD 2025-02-04_21:08:26 38751 lib/FHEM/APIs/Weather/wundergroundAPI.pm | ||||
|   | ||||
| @@ -4,9 +4,9 @@ use File::Basename; | ||||
| use POSIX qw(strftime); | ||||
| use strict; | ||||
|  | ||||
| my @filenames = (   'FHEM/59_Weather.pm', | ||||
| my @filenames = ( | ||||
|     'FHEM/59_Weather.pm', | ||||
|     'lib/FHEM/Core/Weather.pm', | ||||
| 		    'lib/FHEM/APIs/Weather/DarkSkyAPI.pm', | ||||
|     'lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm', | ||||
|     'lib/FHEM/APIs/Weather/wundergroundAPI.pm', | ||||
| ); | ||||
| @@ -19,7 +19,8 @@ for my  $filename (@filenames) { | ||||
|     my @statOutput = stat($filename); | ||||
|  | ||||
|     if ( scalar @statOutput != 13 ) { | ||||
|         printf 'error: stat has unexpected return value for ' . $filename . "\n"; | ||||
|         printf 'error: stat has unexpected return value for ' | ||||
|           . $filename . "\n"; | ||||
|         next; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user