Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tientong98 committed Jan 17, 2025
1 parent fcccf98 commit 9db0657
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion cubids/cubids.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ def __init__(
if self.is_longitudinal and self.acq_group_level == "session":
NON_KEY_ENTITIES.remove("session")
elif not self.is_longitudinal and self.acq_group_level == "session":
raise ValueError('Data is not longitudinal, so "session" is not a valid grouping level.')
raise ValueError(
'Data is not longitudinal, so "session" is not a valid grouping level.'
)

@property
def layout(self):
Expand Down
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"sphinx_gallery.load_style",
"sphinxarg.ext", # argparse extension
"sphinxcontrib.bibtex", # bibtex-based bibliographies
"sphinx_design", # for adding in-line badges etc
"sphinx_design", # for adding in-line badges etc
]

# Mock modules in autodoc:
Expand Down Expand Up @@ -266,4 +266,6 @@
# -----------------------------------------------------------------------------
# Configuration for sphinx_copybutton to remove shell prompts, i.e. $
copybutton_prompt_text = "$ "
copybutton_only_copy_prompt_lines = False # ensures all lines are copied, even those without a prompt
copybutton_only_copy_prompt_lines = (
False # ensures all lines are copied, even those without a prompt
)

0 comments on commit 9db0657

Please sign in to comment.