Skip to content

Commit

Permalink
Merge pull request #1080 from DSD-DBS/chore-move-capellambse-to-dev-d…
Browse files Browse the repository at this point in the history
…ependencies

chore: Move capellambse to dev dependencies
  • Loading branch information
MoritzWeber0 authored Oct 9, 2023
2 parents 490a4cb + d827948 commit e2bd86b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ repos:
- fastapi
- pydantic
- sqlalchemy
- capellambse==0.5.35.dev4
- repo: local
hooks:
- id: pylint
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations

import abc
import datetime
import json
import typing as t

import requests
from capellambse import diagram_cache

import capellacollab.projects.toolmodels.modelsources.git.models as git_models
import capellacollab.settings.modelsources.git.models as settings_git_models

from .. import exceptions

if t.TYPE_CHECKING:
from capellambse import diagram_cache


class GitHandler:
def __init__(
Expand Down
3 changes: 1 addition & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ dependencies = [
"alembic==1.10.4",
"appdirs",
"cachetools",
"capellambse==0.5.35.dev4",
"fastapi>=0.101.0",
"kubernetes",
"msal",
Expand All @@ -53,6 +52,7 @@ Homepage = "https://github.com/DSD-DBS/capella-collab-manager"
[project.optional-dependencies]
dev = [
"black",
"capellambse==0.5.35.dev4",
"deepdiff",
"isort",
"mypy",
Expand Down Expand Up @@ -111,7 +111,6 @@ allow_untyped_defs = true
[[tool.mypy.overrides]]
# Untyped third party libraries
module = [
"capellambse.*",
"kubernetes.*",
"prometheus_client.*",
"openshift.*",
Expand Down

0 comments on commit e2bd86b

Please sign in to comment.