mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2025-08-17 02:11:24 +02:00
Module Test Improvements (#1608)
* Adding --all switch to the pre-commit check * Adding test code to verify component positions are not the same for similar modules * Adding code to validate component names and duplicate positions. This was discovered in issue #1584 * Reverting accidental change to pre-commit-config.yaml * Update SDU-5000.yml Reverting testing change * Update device_types.py Removed un-needed import
This commit is contained in:
@ -23,7 +23,8 @@ COMPONENT_TYPES = (
|
||||
|
||||
PRECOMMIT_ALL_SWITCHES = [
|
||||
'-a',
|
||||
'--all-files'
|
||||
'--all-files',
|
||||
'--all'
|
||||
]
|
||||
|
||||
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))
|
||||
|
Reference in New Issue
Block a user