Translation and Validation for EBSCOhost#19
Translation and Validation for EBSCOhost#19geritwagner merged 57 commits intoCoLRev-Environment:mainfrom
Conversation
…and pre-commit hooks
…anged file for tests, Changed parser to fit updated version
|
I have added the artificial parentheses function and some small changes to the other files Here is a short description: add_artificial_parentheses:
other changes:
|
- add one pair of parentheses (regardless of how many levels of precedence are between operators) - add unit tests - fix parser_validation: skip quoted strings (not SEARCH_FIELDs)
|
Thank you! I have added unit tests and made a few revisions. If you agree with the current implementation of I also added a suggestion for handling linter messages. If you agree with the changes, we will need to add the validation messages to the constants (this will also make them available in the documentation). |
|
Note: We should also mention the |
|
Thank you very much for the information. I have looked through the changes and agree, it would also be a good idea to make inheritable through QueryStringParser. Regarding the validation, i will see to it until tomorrow. Regarding mentioning add_artificial_parentheses in the documentation, is it enough to add the function to the parser_skeletton or is there another step i need to take? |
|
Thank you for having a look at the validation and for checking my suggestions. I would assume that the precedence could already be adapted by changing the Adding the |
|
These are the newest changes to the pull-request:
Regarding the add_artificial_parentheses, i also made some small changes. Here i had some queries in the automated tests that came back erroneous. The reason was i believe this: To be honest, i am unsure as to what the issue is. |
|
Thank you - I added the The last changes before we merge the pull request are to use the Token enums (see changes). I assume the test/ebsco_example.py could also be removed? |
|
Thank you for changing the enumeration. In the latest push i have only removed the test/ebsco_example. |
This request entails: