Skip to content

Commit

Permalink
Release version 0.0.0.dev297
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Sep 26, 2024
1 parent b421c60 commit 03522f8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev296"
version = "0.0.0.dev297"
name = "ControlMan"
dependencies = [
"packaging >= 23.2, < 24",
Expand All @@ -27,15 +27,15 @@ dependencies = [
"jsonpath-ng == 1.6.1",
"ruamel.yaml == 0.17.40",
"PyLinks == 0.0.0.dev27",
"LoggerMan == 0.0.0.dev41",
"PySerials == 0.0.0.dev16",
"GitTidy == 0.0.0.dev33",
"LoggerMan == 0.0.0.dev42",
"PySerials == 0.0.0.dev17",
"GitTidy == 0.0.0.dev34",
"PkgData == 0.0.0.dev4",
"PyShellMan == 0.0.0.dev2",
"PyShellMan == 0.0.0.dev3",
"PySyntax == 0.0.0.dev3",
"ExceptionMan == 0.0.0.dev13",
"MDit == 0.0.0.dev13",
"JSONSchemata == 0.0.0.dev12",
"ExceptionMan == 0.0.0.dev14",
"MDit == 0.0.0.dev14",
"JSONSchemata == 0.0.0.dev13",
"VersionMan == 0.0.0.dev248",
"HTMP == 0.0.0.dev5",
]
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ referencing == 0.35.1
jsonpath-ng == 1.6.1
ruamel.yaml == 0.17.40
PyLinks == 0.0.0.dev27
LoggerMan == 0.0.0.dev41
PySerials == 0.0.0.dev16
GitTidy == 0.0.0.dev33
LoggerMan == 0.0.0.dev42
PySerials == 0.0.0.dev17
GitTidy == 0.0.0.dev34
PkgData == 0.0.0.dev4
PyShellMan == 0.0.0.dev2
PyShellMan == 0.0.0.dev3
PySyntax == 0.0.0.dev3
ExceptionMan == 0.0.0.dev13
MDit == 0.0.0.dev13
JSONSchemata == 0.0.0.dev12
ExceptionMan == 0.0.0.dev14
MDit == 0.0.0.dev14
JSONSchemata == 0.0.0.dev13
VersionMan == 0.0.0.dev248
HTMP == 0.0.0.dev5
18 changes: 9 additions & 9 deletions src/controlman/exception/base.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from __future__ import annotations

from typing import TYPE_CHECKING as _TYPE_CHECKING

from functools import partial as _partial
from exceptionman import ReporterException as _ReporterException
import mdit as _mdit

if _TYPE_CHECKING:
from mdit import Document
Expand All @@ -12,13 +13,12 @@ class ControlManException(_ReporterException):
"""Base class for all exceptions raised by ControlMan."""

def __init__(self, report: Document):
super().__init__(
report=report,
sphinx_config={
"extensions": ['myst_parser', 'sphinx_design', 'sphinx_togglebutton'],
"myst_enable_extensions": ["colon_fence", "fieldlist"],
"html_theme": "pydata_sphinx_theme",
"html_title": "ControlMan Error Report",
}
sphinx_config = {"html_title": "ControlMan Error Report"}
report.target_configs["sphinx"] = _mdit.target.sphinx(
renderer=_partial(
_mdit.render.sphinx,
config=_mdit.render.get_sphinx_config(sphinx_config)
)
)
super().__init__(report=report)
return

0 comments on commit 03522f8

Please sign in to comment.