Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ repos:
additional_dependencies: [black>=22.3.0]
- id: nbqa-flake8
args: [--nbqa-dont-skip-bad-cells, "--extend-ignore=E402,E203"]
additional_dependencies: [flake8==3.8.3]
additional_dependencies: [flake8==7.3.0]

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I run into some issues with older version and the update seemed like a quickest fix


- repo: https://github.com/PyCQA/bandit
rev: 1.9.4
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ exclude_dirs = ["*/tests/*", "*/testing/*"]
zip-safe = true

[tool.setuptools.package-data]
skbase = [
"base/_pretty_printing/*.css",
"base/_pretty_printing/*.js",
]
sktime = [
"*.csv",
"*.csv.gz",
Expand Down
4 changes: 2 additions & 2 deletions skbase/base/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class has values that follow the named object specification. For example,
# _steps_attr points to the attribute of self
# which contains the heterogeneous set of estimators
# this must be an iterable of (name: str, estimator) pairs for the default
_tags = {"named_object_parameters": "steps"}
_tags = {"named_object_parameters": "steps", "visual_block_kind": "serial"}

def is_composite(self):
"""Check if the object is composite.
Expand Down Expand Up @@ -776,7 +776,7 @@ def _get_name(name, obj):
names = [_get_name(name, est) for name, est in named_objects]
name_details = [str(obj) for obj in objs]
return _VisualBlock(
"serial",
self.get_tag("visual_block_kind", tag_value_default="serial"),
objs,
names=names,
name_details=name_details,
Expand Down
Loading