Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2023
1 parent e750285 commit b4dcc37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions language_indexing/config/load_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


def load_external_resource_airtable_config(config: LanguageIndexingConfiguration) -> ExternalResourceDataStore:

config_external_resource_table = config["airtable_external_resources_table"]

# TODO check base_id and api_key are valid before creating the objects.
Expand All @@ -39,7 +38,6 @@ def load_external_resource_airtable_config(config: LanguageIndexingConfiguration


def load_languages_airtable_config(config: LanguageIndexingConfiguration) -> LanguageDataStore:

config_languages_table = config["airtable_languages_table"]
# Get a LanguageDataStore instance
# fake=True will give us a fake data store that returns a sample set of
Expand Down
1 change: 0 additions & 1 deletion language_indexing/language_indexing_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def __getitem__(self, key):

# Read in default properties
def load_config(config: LanguageIndexingConfiguration, default_config_file_name: Optional[str] = None) -> None:

# Default case: when nothing is passed, program reads the default config
if default_config_file_name is None:
config_file = open(os.path.join(os.path.dirname(__file__), "config/indexing.cfg"), "r")
Expand Down

0 comments on commit b4dcc37

Please sign in to comment.