Skip to content

Commit

Permalink
Updating nhcommons dependencies (#1302)
Browse files Browse the repository at this point in the history
* Updating nhcommons dependencies

* Updating data-workflow dependencies

* Updating nhcommons linter

* Upgrading ubuntu distros

* Excluding tests from all linters
  • Loading branch information
manasaV3 authored Jan 17, 2024
1 parent 074957f commit 6cb1c01
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Runs pytest for backend code
tests:
name: Unit test with pytest
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -71,6 +71,6 @@ jobs:

- uses: psf/black@stable
with:
options: "--check --diff --color --verbose"
options: "--check --diff --color --verbose --extend-exclude '.*/tests/.*'"
version: "~= 23.1.0"
src: "./backend"
4 changes: 2 additions & 2 deletions .github/workflows/dataworkflow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Runs pytest for data-workflows code
tests:
name: Unit test with pytest
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -69,6 +69,6 @@ jobs:

- uses: psf/black@stable
with:
options: "--check --diff --color --verbose"
options: "--check --diff --color --verbose --extend-exclude '.*/tests/.*'"
version: "~= 23.1.0"
src: "./data-workflows"
2 changes: 1 addition & 1 deletion .github/workflows/nh-commons-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ jobs:

- uses: psf/black@stable
with:
options: "--check --diff --color --verbose"
options: "--check --diff --color --verbose --extend-exclude '.*/tests/.*'"
version: "~= 23.1.0"
src: "./napari-hub-commons"
2 changes: 1 addition & 1 deletion .github/workflows/plugins-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ jobs:

- uses: psf/black@stable
with:
options: "--check --diff --color --verbose"
options: "--check --diff --color --verbose --extend-exclude '.*/tests/.*'"
version: "~= 23.1.0"
src: "./plugins"
2 changes: 1 addition & 1 deletion data-workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
boto3==1.26.147
boto3>=1.33.2
snowflake-connector-python==3.0.2
./../napari-hub-commons
4 changes: 2 additions & 2 deletions napari-hub-commons/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
boto3>=1.26.77
boto3>=1.33.2
bs4==0.0.1
cffconvert==2.0.0
gunicorn==20.1.0
Markdown==3.4.1
pynamodb==5.4.1
pynamodb==5.5.1
python-slugify==8.0.1
pyyaml==6.0
2 changes: 1 addition & 1 deletion napari-hub-commons/src/nhcommons/utils/github_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
_DEFAULT_DESCRIPTION = (
"The developer has not yet provided a napari-hub " "specific description."
)
_HUB_CONFIG_KEYS = {'labels'}
_HUB_CONFIG_KEYS = {"labels"}


def is_valid_repo_url(url: str) -> bool:
Expand Down

0 comments on commit 6cb1c01

Please sign in to comment.