This file has been truncated, but you can view the full file.
This file contains hidden or 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
| [ | |
| { | |
| "code": "AC", | |
| "names": { | |
| "ab": "ад-ха Вознесениа", | |
| "af": "Ascensioneiland", | |
| "ak": "Asɛnhyin", | |
| "am": "አሴንሽን ደሴት", | |
| "an": "Isla Ascensión", | |
| "ar": "جزيرة أسينشيون", |
This file contains hidden or 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
| [ | |
| { | |
| "code": "aa", | |
| "names": { | |
| "aa": "Qafar", | |
| "af": "Afar", | |
| "am": "አፋርኛ", | |
| "ar": "الأفارية", | |
| "as": "আফাৰ", | |
| "az": "afar", |
This file contains hidden or 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
| """ | |
| src/YOUR_MODULE_NAME/utils/fs_utils.py | |
| Utility functions for common file and folder operations. | |
| Currently includes: | |
| - IgnorePatternsError: Exception for handling load/parse failures. | |
| - load_ignore_patterns: Read and parse ignore-files into a list of patterns. | |
| - parse_ignore_patterns: Extract non-comment, non-blank lines from raw file content. | |
| - JSONLoadError: Exception for JSON loading failures. |
This file contains hidden or 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
| """ | |
| src/YOUR_MODULE_NAME/utils/decimal_arithmetic.py | |
| Utility functions for precise decimal arithmetic operations. | |
| Functions: | |
| - decimal_add: Sum of two addends. | |
| - decimal_subtract: Difference of minuend and subtrahend. | |
| - decimal_multiply: Product of two factors. | |
| - decimal_divide: Quotient of dividend and divisor. |
This file contains hidden or 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
| --- | |
| name: ci | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| concurrency: |
This file contains hidden or 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
| [ | |
| { | |
| "Country": "Afghanistan", | |
| "ISO 3166-1 alpha-2": "AF", | |
| "ISO 3166-1 alpha-3": "AFG", | |
| "ISO 3166-1 numeric": "004" | |
| }, | |
| { | |
| "Country": "Albania", | |
| "ISO 3166-1 alpha-2": "AL", |
This file contains hidden or 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
| [paths] | |
| source = src | |
| [run] | |
| branch = true | |
| parallel = true | |
| source = tests | |
| [report] | |
| show_missing = true |
This file contains hidden or 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
| /** | |
| * Stops other media elements from playing when a media element starts playing. | |
| * | |
| * @param {HTMLMediaElement[]} mediaElems - An array of HTML media elements. | |
| * | |
| * @example | |
| * | |
| * // Stop other media elements when one starts playing | |
| * const allMediaElems = document.querySelectorAll("audio, video"); | |
| * stopOtherMedia(allMediaElems); |
This file contains hidden or 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
| { | |
| "locale": "en" | |
| } |
This file contains hidden or 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
| def dict_unique(dict): | |
| """ | |
| Return a dictionary containing unique values from a given dictionary. | |
| Args: | |
| dict (dict): The input dictionary. | |
| Returns: | |
| dict: A new dictionary with unique values. |
NewerOlder