diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a06c6b1..204af93 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,16 @@ Change Log This project adheres to Semantic Versioning (https://semver.org/). +2022-09-22 +~~~~~~~~~~ + +Changed +======= + +* Don't validate orgs using orgs.yaml in the saleseforce export csv. + + + 2020-08-07 ~~~~~~~~~~ diff --git a/repo_tools_data_schema/repo_tools_data_schema.py b/repo_tools_data_schema/repo_tools_data_schema.py index 8866ab6..2a9d839 100644 --- a/repo_tools_data_schema/repo_tools_data_schema.py +++ b/repo_tools_data_schema/repo_tools_data_schema.py @@ -274,10 +274,6 @@ def validate_salesforce_export(filename, encoding="cp1252"): if acct == "Opfocus Test": # A bogus entry made by the vendor. skip it. continue - # "Individual Contributors" and "Household Accounts" are both Salesforce artifacts. - # In both cases, these records represent unaffiliated individual contributors. - acct_valid = (acct in ALL_ORGS or acct == "Individual Contributors" or acct.endswith(" Household")) - assert acct_valid, f"Account Name is not a valid org: {acct}" username = row["GitHub Username"] assert github_username(username), f"GitHub Username is not valid: {username}"