Resolves tests/test_readers_shared.py, adds MATCH_MODE to the pinpoint, recruitee and rippling tables, and removes table_word, country_if_single and remote_word from plugins/readers/_shared.py with their tests and the Helpers paragraph. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
537 B
Python
10 lines
537 B
Python
"""Rippling's words, for prep."""
|
|
|
|
#: The words of `employmentType.label` (`SALARIED_FT`), which is split at
|
|
#: "_" and the first token found here decides. The fixtures hold one whole
|
|
#: label only, so this is a table of tokens (lowercased), not whole words.
|
|
MATCH = [("ft", "full_time"), ("pt", "part_time"), ("intern", "internship"),
|
|
("internship", "internship"), ("contract", "contract"), ("contractor", "contract"),
|
|
("temp", "temporary"), ("temporary", "temporary"), ("seasonal", "temporary")]
|
|
MATCH_MODE = "token"
|