Skip to content

Commit

Permalink
Configure ruff to ignore tracking/toolbox re-exports.
Browse files Browse the repository at this point in the history
A few minore file-specific workarounds.
  • Loading branch information
rossbar committed Jan 13, 2023
1 parent 7e643a1 commit 0d76a3a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@ ignore = []

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "F403"]

# Re-exports from deepcell-toolbox/deepcell-tracking: ignore unused import warnings
"deepcell/metrics.py" = ["F401"]
"deepcell/model_zoo/featurenet.py" = ["F401"]
"deepcell/tracking.py" = ["F401"]
"deepcell/utils/tracking_utils.py" = ["F401"]

"deepcell/image_generators/__init__.py" = ["E402"] # Ignore out-of-order import
# TODO: Expire deprecation and remove this filter
"deepcell/applications/multiplex_segmentation.py" = ["F401"]
# TODO: Add tests or delete file, see gh-641
"deepcell/model_zoo/tracking_test.py" = ["F401"]

0 comments on commit 0d76a3a

Please sign in to comment.