Skip to content

Commit

Permalink
DX: allow pprint in Jupyter notebooks (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Dec 5, 2023
1 parent 3789adc commit d7c399b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/repoma/check_dev_files/ruff.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def _update_ruff_per_file_ignores(has_notebooks: bool) -> None:
"PLW0602", # global-variable-not-assigned
"PLW0603", # global-statement
"S101", # `assert` detected
"T201", # print found
"T20", # print found
"TCH00", # type-checking block
}
minimal_settings[key] = __merge_rules(
Expand All @@ -458,7 +458,6 @@ def _update_ruff_per_file_ignores(has_notebooks: bool) -> None:
"INP001", # implicit namespace package
"S101", # `assert` detected
"S113", # requests call without timeout
"T201", # print found
}
minimal_settings[key] = __merge_rules(default_ignores, settings.get(key, []))
if os.path.exists("setup.py"):
Expand Down

0 comments on commit d7c399b

Please sign in to comment.