-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.cfg
28 lines (22 loc) · 1.23 KB
/
setup.cfg
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
[flake8]
ignore = C812,C813,C814,C815,C816,D100,D104,D107,D200,D204,D205,D301,D400,D401,D402,D412,D413,DAR003,DAR103,DAR203,E203,E731,E800,E1101,N812,P101,RST201,RST203,RST210,RST213,RST301,RST304,W0221,W503,W504,W605,WPS0,WPS100,WPS101,WPS110,WPS111,WPS112,WPS125,WPS2,WPS300,WPS301,WPS305,WPS306,WPS309,WPS317,WPS323,WPS326,WPS331,WPS333,WPS335,WPS336,WPS337,WPS338,WPS342,WPS347,WPS348,WPS349,WPS350,WPS352,WPS402,WPS404,WPS405,WPS408,WPS410,WPS412,WPS414,WPS420,WPS421,WPS425,WPS426,WPS429,WPS430,WPS431,WPS432,WPS433,WPS434,WPS435,WPS440,WPS441,WPS5,WPS6,WPS436,WPS450,WPS114,CCE001,WPS114,WPS458,WPS358,WPS459,WPS411,D214,WPS362,WPS437,WPS462,BLK100,WPS122,WPS115,N802
max-line-length = 100
docstring-convention = google
inline-quotes = double
strictness = short
exclude = .git,__pycache__,docs/conf.py,build,dist
[isort]
profile = black
line_length = 100
known_third_party = PIL,albumentations,augmentations,gradio,kornia,matplotlib,models,numpy,pandas,pytest,requests,setuptools,ssl_byol,torch,torchmetrics,torchvision,transformers,utils
[darglint]
docstring_style = google
strictness = short
ignore_regex = ^_(.*)
[pydocstyle]
convention = google
# Pytest
[tool.pytest]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = --cov=torchflare