Skip to content

Commit

Permalink
perf: Decrease Docker image size by 400MB
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Apr 26, 2024
1 parent 63bed21 commit c744299
Showing 1 changed file with 14 additions and 26 deletions.
40 changes: 14 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ description = "A webapp for exploring Capella models"
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",
Expand All @@ -31,29 +29,19 @@ dependencies = [
"capellambse",
"capellambse-context-diagrams",
"jinja2",
"pandas",
"streamlit",
"fastapi",
"uvicorn",
"prometheus-client"
"prometheus-client",
]

[project.urls]
Homepage = "https://github.com/DSD-DBS/capella-model-explorer"
Documentation = "https://dsd-dbs.github.io/capella-model-explorer"

[project.optional-dependencies]
docs = [
"furo",
"sphinx",
"sphinx-copybutton",
"tomli; python_version<'3.11'",
]
docs = ["furo", "sphinx", "sphinx-copybutton", "tomli; python_version<'3.11'"]

test = [
"pytest",
"pytest-cov",
]
test = ["pytest", "pytest-cov"]

[tool.black]
line-length = 79
Expand Down Expand Up @@ -104,18 +92,18 @@ 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 = [
"D1", # Missing docstring in [...]
"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
"D1", # Missing docstring in [...]
"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.format]
Expand Down

0 comments on commit c744299

Please sign in to comment.