mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	PEP fixes
This commit is contained in:
		| @@ -3,7 +3,7 @@ Utility file to enable simper imports | ||||
| """ | ||||
|  | ||||
| from .registry import registry | ||||
| from .plugin import InvenTreePlugin | ||||
| from .plugin import AAInvenTreePlugin as InvenTreePlugin | ||||
| from .integration import IntegrationPluginBase | ||||
| from .action import ActionPlugin | ||||
|  | ||||
|   | ||||
| @@ -26,7 +26,7 @@ class IntegrationPluginError(Exception): | ||||
| class MixinImplementationError(ValueError): | ||||
|     """ | ||||
|     Error if mixin was implemented wrong in plugin | ||||
|     Mostly raised if constant is missing  | ||||
|     Mostly raised if constant is missing | ||||
|     """ | ||||
|     pass | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,7 @@ from django.db.utils import OperationalError, ProgrammingError | ||||
| from django.utils.text import slugify | ||||
|  | ||||
|  | ||||
| class InvenTreePlugin(): | ||||
| class AAInvenTreePlugin(): | ||||
|     """ | ||||
|     Base class for a plugin | ||||
|     """ | ||||
| @@ -34,7 +34,6 @@ class InvenTreePlugin(): | ||||
|         If not set plugin name slugified | ||||
|         """ | ||||
|  | ||||
|  | ||||
|         slug = getattr(self, 'PLUGIN_SLUG', None) | ||||
|  | ||||
|         if slug is None: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user