diff --git a/girder/girder_large_image/rest/__init__.py b/girder/girder_large_image/rest/__init__.py index edcc6fa71..77f8f0df9 100644 --- a/girder/girder_large_image/rest/__init__.py +++ b/girder/girder_large_image/rest/__init__.py @@ -193,7 +193,6 @@ def _itemFindRecursive( # noqa if offset: fullPipeline.append({'$skip': offset}) - print(fullPipeline) logger.debug('Find item pipeline %r', fullPipeline) options = { diff --git a/pyproject.toml b/pyproject.toml index ef4ae4f8d..0eb22d599 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,14 +59,18 @@ lint.select = [ "PYI", "PT", "RSE", + "T", # print statements ] [tool.ruff.lint.per-file-ignores] # allow "useless expressions" as it shows output # allow non-top level imports # allow long lines -"docs/*.ipynb" = ["B018", "E402", "E501"] -"docs/*.py" = ["E501"] +".circleci/dcm4chee/*.py" = ["T201", "T203"] +"docs/*.ipynb" = ["B018", "E402", "E501", "T201", "T203"] +"docs/*.py" = ["E501", "T201", "T203"] +"examples/*" = ["T201", "T203"] +"test/*" = ["T201", "T203"] [tool.ruff.lint.flake8-quotes] inline-quotes = "single"