-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
44 lines (41 loc) · 1.86 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[flake8]
exclude = .git,__pycache__,docs/conf.py,build,dist
ignore = C812,C813,C814,C815,C816,D100,D104,D107,D200,D204,D205,D212,D214,D301,D400,D401,D402,D412,D413,D415,DAR003,DAR103,DAR203,RST201,RST203,RST210,RST213,RST301,RST304,WPS0,WPS100,WPS101,WPS110,WPS111,WPS112,WPS114,WPS114,WPS125,WPS2,WPS300,WPS301,WPS305,WPS306,WPS309,WPS317,WPS323,WPS324,WPS326,WPS331,WPS333,WPS335,WPS336,WPS337,WPS338,WPS342,WPS347,WPS348,WPS349,WPS350,WPS352,WPS358,WPS362,WPS402,WPS404,WPS405,WPS408,WPS410,WPS411,WPS412,WPS414,WPS420,WPS421,WPS425,WPS426,WPS429,WPS430,WPS431,WPS432,WPS433,WPS434,WPS435,WPS436,WPS437,WPS440,WPS441,WPS450,WPS458,WPS459,WPS462,WPS463,WPS5,WPS6,CCE001,E1101,E203,E731,E800,I,N812,P101,S,W0221,W503,W504,W605
max-line-length = 99
max-doc-length = 99
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
convention = google
class_attributes_order = field,meta_class,nested_class,magic_method,property_method,static_method,private_method,method,class_method
[isort]
force_to_top = typing
skip_glob = **/__init__.py
line_length = 99
multi_line_output = 3
force_grid_wrap = 0
default_section = THIRDPARTY
no_lines_before = STDLIB,LOCALFOLDER
order_by_type = false
lines_between_types = 0
combine_as_imports = true
include_trailing_comma = true
use_parentheses = true
# TODO: check if works fine
filter_files = **/__init__.py
force_sort_within_sections = true
# TODO: check if compatible with black
reverse_relative = true
# catalyst imports order:
# - typing
# - core python libs
# - python libs (known_third_party)
# - dl libs (known_dl)
# - catalyst imports
known_dl = albumentations,gym,gym_minigrid,kornia,mlflow,neptune,tensorboard,tensorboardX,tensorflow,torch,torchvision,transformers,wandb
known_first_party = catalyst
sections = STDLIB,THIRDPARTY,DL,FIRSTPARTY,LOCALFOLDER
[darglint]
docstring_style = google
strictness = short
ignore_regex = ^_(.*)