Skip to content

Commit

Permalink
Try to pass ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jul 5, 2023
1 parent b6506c3 commit 5995515
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pyhf/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import collections
import copy
import logging
from typing import ClassVar

import jsonpatch

from pyhf import exceptions, schema
Expand Down Expand Up @@ -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 <https://scikit-hep.org/pyhf/likelihood.html#workspace>`__.
"""

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):
"""
Expand Down

0 comments on commit 5995515

Please sign in to comment.