Skip to content

Commit

Permalink
Merge pull request #17 from mayushii21/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
mayushii21 authored Dec 31, 2024
2 parents 744f90d + 08df4a3 commit 4085bb8
Show file tree
Hide file tree
Showing 26 changed files with 1,421 additions and 934 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- better use an svg -->
<div align="center">
<img src="doc/collage.png">
<img src="doc/markup.png">
</div>

-------
Expand Down
Binary file added doc/markup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
224 changes: 185 additions & 39 deletions pdm.lock

Large diffs are not rendered by default.

17 changes: 6 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
[project]
name = "innov8"
version = "0.2.0-beta"
version = "0.3.0-beta"
description = "an interactive market dashboard"
authors = [
{name = "mayushii21", email = "[email protected]"},
{ name = "mayushii21", email = "[email protected]" },
]
dependencies = [
"dash[diskcache]==2.16.1",
"dash-bootstrap-components",
"dash-bootstrap-templates",
"dash-bootstrap-templates>=1.3.0",
"dash-tvlwc>=0.1.1",
"dash-trich-components",
"requests",
"beautifulsoup4",
"lxml",
Expand All @@ -23,7 +22,7 @@ dependencies = [
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "BSD-3-Clause"}
license = { text = "BSD-3-Clause" }

[build-system]
requires = ["pdm-backend"]
Expand All @@ -38,13 +37,9 @@ Repository = "https://github.com/mayushii21/market-dashboard"
"Bug Tracker" = "https://github.com/mayushii21/market-dashboard/issues"

[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
addopts = ["--import-mode=importlib"]

[tool.pdm]

[tool.pdm.dev-dependencies]
test = [
"pytest>=8.2.2",
]
test = ["pytest>=8.2.2", "pytest-cov>=6.0.0"]
13 changes: 12 additions & 1 deletion src/innov8/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@

app = Dash(
__name__,
external_stylesheets=[default_theme, dbc_css],
external_scripts=[
{"src": "https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"},
],
external_stylesheets=[
default_theme,
dbc_css,
{
"rel": "stylesheet",
"href": "https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css",
},
],
meta_tags=[{"name": "viewport", "content": "width=device-width, initial-scale=1"}],
title="innov8finance",
background_callback_manager=background_callback_manager,
suppress_callback_exceptions=True,
Expand Down
Loading

0 comments on commit 4085bb8

Please sign in to comment.