-
Notifications
You must be signed in to change notification settings - Fork 99
/
pyproject.toml
49 lines (41 loc) · 1.46 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"wheel",
"setuptools>=40.8.0",
"numpy>=1.16.6"
]
[tool.ruff]
line-length = 99
target-version="py37"
[tool.ruff.lint]
exclude = ["*.ipynb"]
select = ["E", "F", "UP"]
# Suppress ruff warnings
ignore = [
"E731", # Unbound lambda
"UP031", # Use f-string instead of % formating
"UP032", # Use f-string instead of .format
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
"docs/source/conf.py" = ["E402", "E501"]
# 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"]
# Out-of-order imports due to pkg-level definitions
"deepcell/image_generators/__init__.py" = ["E402"]
"deepcell/datasets/__init__.py" = ["E402"]
# 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"]
# TODO: Define split_datasets in module to fix circular import - see gh-642
"deepcell/data/__init__.py" = ["E402"]
# TODO: Remove once gh-645 is resolved
"deepcell/utils/export_utils.py" = ["F821"]
# Module level imports not at top of gallery files
"docs/source/datasets/dynamicnuclearnet.py" = ["E402"]
"docs/source/applications/mesmer.py" = ["E402"]