Skip to content

Commit

Permalink
Remove a debug statement
Browse files Browse the repository at this point in the history
Modify pre-commit to prevent from happening again
  • Loading branch information
manthey committed Oct 18, 2024
1 parent 311540d commit 93d59ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion girder/girder_large_image/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ def _itemFindRecursive( # noqa
if offset:
fullPipeline.append({'$skip': offset})

print(fullPipeline)
logger.debug('Find item pipeline %r', fullPipeline)

options = {
Expand Down
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 93d59ca

Please sign in to comment.