Closed synesthesiam closed 1 month ago
tests/test_language_intents.py (6)
Pattern `*/**(html|markdown|md)`: - For instructional content in documentation, use a direct and authoritative tone. Avoid expressions of politeness such as 'may' or 'please', and ensure the goal of the instruction is fronted. - Apply the Microsoft Style Guide to ensure documentation maintains clarity and conciseness. - In step-by-step instructions, front the location phrase in the instructional sentence. - In step-by-step instructions, front the 'goal' in the instructional sentence. - In step-by-step instructions, if in doubt what to front, front the 'goal' before the location phrase in the instructional sentence. - do not hyphenate terms like 'top-right' or 'bottom-left' with 'corner' --- Pattern `*/**(html|markdown|md)`: - Use bold to mark UI strings. - If "" are used to mark UI strings, replace them by bold. --- Pattern `*/**(html|markdown|md)`: - Be brief in your replies and don't add fluff like "thank you for..." and "Please let me know if" --- Pattern `*/**(html|markdown|md)`: - Use sentence-style capitalization also in headings. --- Pattern `*/**(html|markdown|md)`: do not comment on HTML used for icons --- Pattern `*/**(html|markdown|md)`: Avoid flagging inline HTML for embedding videos in future reviews for this repository.
tests/test_language_intents.py (1)
`72-74`: **LGTM! The changes improve clarity and maintainability.** Adding the `name` attribute to `TextSlotList` instances ensures that each instance specifies the name of the slot it represents. This enhances code readability and maintainability.
Summary by CodeRabbit
New Features
--language
to specify the language for validation in scripts.Enhancements
hassil
library to version 1.7.4 for improved stability.Tests
name
attributes toTextSlotList
instances for better clarity in language intent validation.