Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Vines committed Jul 9, 2024
1 parent 8b64b91 commit b27c25d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion ojd_daps_skills/extract_skills/extract_skills_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from sklearn.pipeline import Pipeline
from skops.hub_utils import download
from spacy.language import Language
from spacy.tokens import Doc
from wasabi import msg

from ojd_daps_skills import PUBLIC_MODEL_FOLDER_PATH
Expand Down
4 changes: 2 additions & 2 deletions ojd_daps_skills/utils/download_public_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
def download_data():
"""Download public data. Expected to run once on first use."""
s3 = boto3.client(
"s3", region_name="eu-west-1", config=Config(signature_version=UNSIGNED)
"s3", region_name="eu-west-2", config=Config(signature_version=UNSIGNED)
)

bucket_name = "open-jobs-indicators"
bucket_name = "nesta-open-data"
key = "escoe_extension/ojd_daps_skills_data_refactor.zip"

try:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_skill_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_get_top_taxonomy_skills(
assert len(top_taxonomy_skills) == 3
assert isinstance(top_taxonomy_skills[0], list)
assert isinstance(top_taxonomy_skills[1], list)
assert type(top_taxonomy_skills[2]) == pd.core.indexes.base.Index
assert type(top_taxonomy_skills[2]) is pd.core.indexes.base.Index
assert len(top_taxonomy_skills[1][0]) == 2


Expand Down

0 comments on commit b27c25d

Please sign in to comment.