Skip to content

Commit

Permalink
Merge pull request #401 from ral-facilities/dependabot/pip/pip-77ca15…
Browse files Browse the repository at this point in the history
…4505

Bump the pip group across 1 directory with 8 updates
  • Loading branch information
joelvdavies authored Oct 25, 2024
2 parents 5c8edc4 + 63934b2 commit 7b89d00
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion inventory_management_system_api/services/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ class ItemService:
Service for managing items.
"""

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
def __init__(
self,
item_repository: Annotated[ItemRepo, Depends(ItemRepo)],
catalogue_category_repository: Annotated[CatalogueCategoryRepo, Depends(CatalogueCategoryRepo)],
catalogue_item_repository: Annotated[CatalogueItemRepo, Depends(CatalogueItemRepo)],
system_repository: Annotated[SystemRepo, Depends(SystemRepo)],
usage_status_repository: Annotated[UsageStatusRepo, Depends(UsageStatusRepo)],
# pylint: disable=too-many-arguments
) -> None:
"""
Initialise the `ItemService` with an `ItemRepo`, `CatalogueCategoryRepo`,
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ requires-python = ">=3.12"
version = "1.0.0"

dependencies = [
"cryptography==43.0.1",
"fastapi[all]==0.114.2",
"cryptography==43.0.3",
"fastapi[all]==0.115.3",
"PyJWT==2.9.0",
"pymongo==4.8.0",
"uvicorn==0.30.6"
"pymongo==4.10.1",
"uvicorn==0.32.0"
]

[project.urls]
Expand All @@ -21,20 +21,20 @@ dependencies = [

[project.optional-dependencies]
code-analysis = [
"black==24.8.0",
"pylint==3.2.7",
"black==24.10.0",
"pylint==3.3.1",
"inventory-management-system-api[test]"
]

test = [
"pytest==8.3.3",
"pytest-asyncio==0.24.0",
"pytest-cov==5.0.0",
"pytest-env==1.1.4"
"pytest-env==1.1.5"
]

scripts = [
"faker==28.4.1",
"faker==30.8.1",
"requests==2.32.3"
]

Expand Down
1 change: 1 addition & 0 deletions test/unit/repositories/test_catalogue_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ def set_update_data(self, new_catalogue_category_in_data: dict):
self._catalogue_category_in = CatalogueCategoryIn(**new_catalogue_category_in_data)

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
def mock_update(
self,
catalogue_category_id: str,
Expand Down
1 change: 1 addition & 0 deletions test/unit/repositories/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ def set_update_data(self, new_system_in_data: dict):
self._system_in = SystemIn(**new_system_in_data)

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
def mock_update(
self,
system_id: str,
Expand Down
1 change: 1 addition & 0 deletions test/unit/services/test_catalogue_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ class UpdateDSL(CatalogueCategoryServiceDSL):
unit_value_id_dict: dict[str, str]

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
def mock_update(
self,
catalogue_category_id: str,
Expand Down
1 change: 1 addition & 0 deletions test/unit/services/test_catalogue_category_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class CatalogueCategoryPropertyServiceDSL(BaseCatalogueServiceDSL):
catalogue_category_property_service: CatalogueCategoryPropertyService

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
@pytest.fixture(autouse=True)
def setup(
self,
Expand Down
2 changes: 2 additions & 0 deletions test/unit/services/test_catalogue_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class CatalogueItemServiceDSL(BaseCatalogueServiceDSL):
catalogue_item_service: CatalogueItemService

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
@pytest.fixture(autouse=True)
def setup(
self,
Expand Down Expand Up @@ -456,6 +457,7 @@ class UpdateDSL(CatalogueItemServiceDSL):
_updating_properties: bool

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
def mock_update(
self,
catalogue_item_id: str,
Expand Down
2 changes: 2 additions & 0 deletions test/unit/services/test_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class ItemServiceDSL(BaseCatalogueServiceDSL):
item_service: ItemService

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
@pytest.fixture(autouse=True)
def setup(
self,
Expand Down Expand Up @@ -461,6 +462,7 @@ class UpdateDSL(ItemServiceDSL):
_expected_merged_properties: List[PropertyPostSchema]

# pylint:disable=too-many-arguments
# pylint:disable=too-many-positional-arguments
# pylint:disable=too-many-locals
def mock_update(
self,
Expand Down

0 comments on commit 7b89d00

Please sign in to comment.