Minor code and comment cleanups
This commit is contained in:
		| @@ -19,7 +19,7 @@ def parse_configfile(filepath): | ||||
|     :rtype: ConfigParser object | ||||
|     :raises FileNotFoundError: if path does not exist | ||||
|     """ | ||||
|     if not pathlib.Path(filepath).is_file(): | ||||
|     if not Path(filepath).is_file(): | ||||
|         raise FileNotFoundError(f"{filepath} does not exist") | ||||
|  | ||||
|     config_reader = configparser.ConfigParser(strict=False, allow_no_value=True) | ||||
|   | ||||
| @@ -40,7 +40,7 @@ def get(query=None, *, directory=None, signatures_only=False): | ||||
|  | ||||
|  | ||||
| def filter(iterable, *, signatures_only=False): | ||||
|     """Retrive package file types from a predefined iterable. | ||||
|     """Retrieve package files from a predefined iterable. | ||||
|  | ||||
|     :param iterable: any iterable | ||||
|     :type iterable: anything that returns str or path-like objects | ||||
|   | ||||
		Reference in New Issue
	
	Block a user