From 5c3c697ffd16fe7337cdf6a6ba280c209d0a97f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernst=20W=C3=BCrger?= Date: Thu, 21 Nov 2024 11:05:41 +0100 Subject: [PATCH] build!: Lift context-diagrams version to `>=0.6.0,<0.7` (#131) --- pyproject.toml | 46 ++++++++++++++++------------------------------ 1 file changed, 16 insertions(+), 30 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e0e2fcb..14f5b64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,9 +13,7 @@ description = "Synchronise Capella models with Polarion projects" readme = "README.md" requires-python = ">=3.10, <3.13" license = { text = "Apache-2.0" } -authors = [ - { name = "DB InfraGO AG" }, -] +authors = [{ name = "DB InfraGO AG" }] keywords = [] classifiers = [ "Development Status :: 1 - Planning", @@ -29,14 +27,14 @@ classifiers = [ ] dependencies = [ "capellambse>=0.6.6,<0.7", - "capellambse_context_diagrams>=0.5.0,<0.6", + "capellambse_context_diagrams>=0.6.0,<0.7", "click", "PyYAML", "polarion-rest-api-client==1.2.2", "bidict", "cairosvg", "jinja2", - "pydantic" + "pydantic", ] [project.urls] @@ -44,21 +42,11 @@ Homepage = "https://github.com/DSD-DBS/capella2polarion" Documentation = "https://dsd-dbs.github.io/capella2polarion" [project.optional-dependencies] -dev = [ - "python-dotenv" -] +dev = ["python-dotenv"] -docs = [ - "furo", - "sphinx", - "sphinx-copybutton", - "tomli", -] +docs = ["furo", "sphinx", "sphinx-copybutton", "tomli"] -test = [ - "pytest", - "pytest-cov", -] +test = ["pytest", "pytest-cov"] [project.scripts] capella2polarion = "capella2polarion.__main__:cli" @@ -98,23 +86,21 @@ ignore_missing_imports = true [tool.pydocstyle] convention = "numpy" add-select = [ - "D212", # Multi-line docstring summary should start at the first line - "D402", # First line should not be the function’s “signature” - "D417", # Missing argument descriptions in the docstring + "D212", # Multi-line docstring summary should start at the first line + "D402", # First line should not be the function’s “signature” + "D417", # Missing argument descriptions in the docstring ] add-ignore = [ - "D201", # No blank lines allowed before function docstring # auto-formatting - "D202", # No blank lines allowed after function docstring # auto-formatting - "D203", # 1 blank line required before class docstring # auto-formatting - "D204", # 1 blank line required after class docstring # auto-formatting - "D211", # No blank lines allowed before class docstring # auto-formatting - "D213", # Multi-line docstring summary should start at the second line + "D201", # No blank lines allowed before function docstring # auto-formatting + "D202", # No blank lines allowed after function docstring # auto-formatting + "D203", # 1 blank line required before class docstring # auto-formatting + "D204", # 1 blank line required after class docstring # auto-formatting + "D211", # No blank lines allowed before class docstring # auto-formatting + "D213", # Multi-line docstring summary should start at the second line ] [tool.pylint.master] -extension-pkg-allow-list = [ - "lxml.etree", -] +extension-pkg-allow-list = ["lxml.etree"] max-line-length = 79 [tool.pylint.messages_control]