-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail lookups on invalid resource names (#69)
* Fail lookups on absolute paths Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Update for linter errors Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Hopefully final linter fix Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Add valid package name check Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Linting Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Add backslash to invalid chars for resource name Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Add validity check for type Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Fix quote style Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Fix import ordering Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Update package name regex to match REP-127 Now allows uppercase letters, dashes and leading numerals. Test modified to reflect this Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Add docstrings Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk> * Add private API marker Signed-off-by: Rob Clarke <robert.clarke@bristol.ac.uk>
- Loading branch information
1 parent
028080c
commit e04af7b
Showing
4 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters