Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move capellambse to dev dependencies #1080

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading