[bdist_wheel] universal=1 [aliases] test=pytest [tool:pytest] testpaths = tests/ [yapf] based_on_style = pep8 blank_line_before_nested_class_or_def = true split_before_expression_after_opening_paren = true split_penalty_import_names=0 SPLIT_PENALTY_AFTER_OPENING_BRACKET=888 [isort] line_length = 79 multi_line_output = 0 extra_standard_library = setuptools known_first_party = mmagic known_third_party = PIL,cv2,lmdb,mmcv,numpy,onnx,onnxruntime,packaging,pymatting,pytest,pytorch_sphinx_theme,requests,scipy,titlecase,torch,torchvision,ts no_lines_before = STDLIB,LOCALFOLDER default_section = THIRDPARTY [flake8] # The E251 check is conflict with yapf in some situation. # See https://github.com/google/yapf/issues/393 extend-ignore = E251 # The F401 check is wrong if the `__all__` variable is modified # in `__init__.py` per-file-ignores = */__init__.py: F401 mmagic/configs/*: F401,F403,F405,E501