Skip to content

Commit

Permalink
fix:flake8 outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdellahitech committed Jan 8, 2024
1 parent b70f898 commit 1464ce8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/hrflow_connectors/connectors/talentsoft/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
HrFlowProfileParsingWarehouse,
HrFlowProfileWarehouse,
)
from hrflow_connectors.connectors.talentsoft.utils.const import CIVILITY
from hrflow_connectors.connectors.talentsoft.warehouse import (
TalentSoftJobsWarehouse,
TalentSoftProfilesWarehouse,
Expand All @@ -24,8 +25,6 @@
Event,
WorkflowType,
)
from hrflow_connectors.connectors.talentsoft.utils.const import CIVILITY



def format_ts_applicant_civility(gender: str):
Expand Down Expand Up @@ -375,8 +374,8 @@ def format_into_ts_applicant(profile_hrflow: t.Dict) -> t.Dict:
birthDate=info_profile_hrflow["date_birth"],
phoneNumber=info_profile_hrflow["phone"],
email=info_profile_hrflow["email"],
civility=format_ts_applicant_civility(info_profile_hrflow["gender"])
#title=format_ts_applicant_title(info_profile_hrflow["gender"]),
civility=format_ts_applicant_civility(info_profile_hrflow["gender"]),
# title=format_ts_applicant_title(info_profile_hrflow["gender"]),
)
education = format_ts_educations(
profile_hrflow["educations"], profile_hrflow["tags"]
Expand Down
8 changes: 5 additions & 3 deletions src/hrflow_connectors/connectors/talentsoft/utils/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CIVILITY = [
CIVILITY = (
[
{
"code": 3445,
"clientCode": "_TS_CO_Civility_Dr",
Expand Down Expand Up @@ -40,5 +41,6 @@
"label": "Other",
"type": "civility",
"parentType": "",
}
],
},
],
)

0 comments on commit 1464ce8

Please sign in to comment.