13 lines
685 B
Python
13 lines
685 B
Python
"""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")]
|