-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathsetup.cfg
More file actions
35 lines (34 loc) · 1019 Bytes
/
setup.cfg
File metadata and controls
35 lines (34 loc) · 1019 Bytes
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
[flake8]
select = B,C,E,F,N,P,T4,W,B9
max_line_length = 120
# C408 ignored because we like the dict keyword argument syntax
# E501 is not flexible enough, we're using B950 instead
# N812 lowercase 'torch.nn.functional' imported as non lowercase 'F'
# B023 https://github.com/Project-MONAI/MONAI/issues/4627
# B028 https://github.com/Project-MONAI/MONAI/issues/5855
# B907 https://github.com/Project-MONAI/MONAI/issues/5868
ignore =
E203
E501
E741
W503
W504
C408
N812
B023
B905
B028
B907
C419
# lowercase checks are not needed for the following files in the retinalOCT_RPD_segmentation model
# https://github.com/Project-MONAI/model-zoo/pull/748#issuecomment-2877638507
per_file_ignores =
__init__.py: F401
__main__.py: F401
exclude = *.pyi,.git,.eggs,monai/_version.py,versioneer.py,venv,.venv,_version.py
[isort]
known_first_party = models
profile = black
line_length = 120
skip = .git, .eggs, venv, .venv, versioneer.py, _version.py, conf.py
skip_glob = *.pyi