Integration check: wp-p-prep with wp-r1-raw and wp-r2-raw
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>
This commit is contained in:
commit
55757c41e5
51 files changed
+445
-502
No files matched your search
@@ -0,0 +1,13 @@
|
||||
"""Pinpoint's words, for prep."""
|
||||
|
||||
#: `workplace_type`. Anything else says nothing.
|
||||
REMOTE = {"onsite": "onsite", "on_site": "onsite", "hybrid": "hybrid", "remote": "remote"}
|
||||
|
||||
#: What `employment_type` (`permanent_full_time`, `fixed_term_full_time`)
|
||||
#: says, matched by fragment: the first fragment found in the lowercased
|
||||
#: word decides, so a contract type beats the hours. The fixtures hold two
|
||||
#: whole words only, so this is not turned into a whole-word table.
|
||||
MATCH = [("intern", "internship"), ("freelance", "contract"), ("contract", "contract"),
|
||||
("fixed_term", "temporary"), ("temporary", "temporary"),
|
||||
("part_time", "part_time"), ("full_time", "full_time")]
|
||||
MATCH_MODE = "substring"
|
||||
Reference in new issue
Block a user