mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Fix common spelling mistakes (#4956)
* add codespell * first fixes * doc fixes * fix docstrings and comments * functional changes * docstrings again * and docs again * rename args * add ignore * use pre-commit for filtering instead * ups * fix typo in filter
This commit is contained in:
		| @@ -125,7 +125,7 @@ class LabelConfig(AppConfig): | ||||
|             logger.info(f"Creating required directory: '{dst_dir}'") | ||||
|             dst_dir.mkdir(parents=True, exist_ok=True) | ||||
|  | ||||
|         # Create lables | ||||
|         # Create labels | ||||
|         for label in labels: | ||||
|             self.create_template_label(model, src_dir, ref_name, label) | ||||
|  | ||||
| @@ -156,7 +156,7 @@ class LabelConfig(AppConfig): | ||||
|  | ||||
|         if to_copy: | ||||
|             logger.info(f"Copying label template '{dst_file}'") | ||||
|             # Ensure destionation dir exists | ||||
|             # Ensure destination dir exists | ||||
|             dst_file.parent.mkdir(parents=True, exist_ok=True) | ||||
|  | ||||
|             # Copy file | ||||
|   | ||||
		Reference in New Issue
	
	Block a user