From 5995515f5ddcf2f478fbdb590d9bb5691a715fee Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 5 Jul 2023 00:18:20 -0500 Subject: [PATCH] Try to pass ruff --- src/pyhf/workspace.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pyhf/workspace.py b/src/pyhf/workspace.py index a431926576..d211e6484f 100644 --- a/src/pyhf/workspace.py +++ b/src/pyhf/workspace.py @@ -8,6 +8,8 @@ import collections import copy import logging +from typing import ClassVar + import jsonpatch from pyhf import exceptions, schema @@ -284,7 +286,7 @@ class Workspace(_ChannelSummaryMixin, dict): A JSON-serializable object that is built from an object that follows the :obj:`workspace.json` `schema `__. """ - valid_joins = ['none', 'outer', 'left outer', 'right outer'] + valid_joins: ClassVar[list[str]] = ['none', 'outer', 'left outer', 'right outer'] def __init__(self, spec, validate: bool = True, **config_kwargs): """