detquantlib 3.14.0__tar.gz → 3.14.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {detquantlib-3.14.0 → detquantlib-3.14.1}/PKG-INFO +1 -2
  2. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/data/databases/detdatabase.py +1 -1
  3. {detquantlib-3.14.0 → detquantlib-3.14.1}/pyproject.toml +6 -2
  4. {detquantlib-3.14.0 → detquantlib-3.14.1}/LICENSE.txt +0 -0
  5. {detquantlib-3.14.0 → detquantlib-3.14.1}/README.md +0 -0
  6. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/__init__.py +0 -0
  7. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/converters/__init__.py +0 -0
  8. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/converters/definitions.py +0 -0
  9. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/converters/energy.py +0 -0
  10. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/converters/helpers.py +0 -0
  11. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/converters/price.py +0 -0
  12. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/data/__init__.py +0 -0
  13. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/data/databases/helpers.py +0 -0
  14. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/data/entsoe/entsoe.py +0 -0
  15. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/data/sftp/sftp.py +0 -0
  16. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/dates/__init__.py +0 -0
  17. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/dates/dates.py +0 -0
  18. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/figures/__init__.py +0 -0
  19. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/figures/plotly_figures.py +0 -0
  20. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/forecasting/__init__.py +0 -0
  21. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/forecasting/forecasting.py +0 -0
  22. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/outputs/__init__.py +0 -0
  23. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/outputs/outputs_interface.py +0 -0
  24. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/stats/__init__.py +0 -0
  25. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/stats/data_analysis.py +0 -0
  26. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/tradable_products/__init__.py +0 -0
  27. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/tradable_products/tradable_products.py +0 -0
  28. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/utils/__init__.py +0 -0
  29. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/utils/logging.py +0 -0
  30. {detquantlib-3.14.0 → detquantlib-3.14.1}/detquantlib/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: detquantlib
3
- Version: 3.14.0
3
+ Version: 3.14.1
4
4
  Summary: An internal library containing functions and classes that can be used across Quant models.
5
5
  License-File: LICENSE.txt
6
6
  Author: DET
@@ -21,7 +21,6 @@ Requires-Dist: pyodbc (>=5.2.0,<6.0.0)
21
21
  Requires-Dist: python-dotenv (>=1.1.0,<2.0.0)
22
22
  Requires-Dist: scipy (>=1.15.2,<2.0.0)
23
23
  Requires-Dist: sqlalchemy (>=2.0.43,<3.0.0)
24
- Project-URL: Repository, https://github.com/Dynamic-Energy-Trading/detquantlib
25
24
  Description-Content-Type: text/markdown
26
25
 
27
26
  # DET Quant Library
@@ -108,7 +108,7 @@ class DetDatabase:
108
108
  """
109
109
  try:
110
110
  df = pd.read_sql_query(query, con=self.engine)
111
- except Exception as e:
111
+ except Exception:
112
112
  # If query fails, close connection before raising the error
113
113
  self.terminate_engine()
114
114
  raise
@@ -1,10 +1,9 @@
1
1
  [tool.poetry]
2
2
  name = "detquantlib"
3
- version = "3.14.0"
3
+ version = "3.14.1"
4
4
  description = "An internal library containing functions and classes that can be used across Quant models."
5
5
  authors = ["DET"]
6
6
  readme = "README.md"
7
- repository = "https://github.com/Dynamic-Energy-Trading/detquantlib"
8
7
  packages = [
9
8
  { include = "detquantlib" }, # Specifies the location of the package
10
9
  ]
@@ -30,6 +29,7 @@ pytest-cov = "^7.0.0"
30
29
  black = "^25.9.0"
31
30
  darglint = "^1.8.1"
32
31
  isort = "^6.1.0"
32
+ ruff = "^0.15.4"
33
33
  colorama = "^0.4.6"
34
34
  pymarkdownlnt = "^0.9.32"
35
35
  md-toc = "^9.0.0"
@@ -53,6 +53,10 @@ known_third_party = ["invoke"]
53
53
  [tool.black]
54
54
  line-length = 99
55
55
 
56
+ [tool.ruff.lint]
57
+ select = ["B", "F"] # "B"=flake8-bugbear, "F"=Pyflakes
58
+ ignore = ["F403", "F405"]
59
+
56
60
  [tool.pymarkdown]
57
61
  plugins.md013.enabled = false # Disable line length requirements
58
62
  plugins.md040.enabled = false # Disable fenced code blocks language requirements
File without changes
File without changes