34 lines
780 B
INI
34 lines
780 B
INI
[bdist_wheel]
|
|
universal=1
|
|
|
|
[aliases]
|
|
test=pytest
|
|
|
|
[yapf]
|
|
based_on_style = pep8
|
|
blank_line_before_nested_class_or_def = true
|
|
split_before_expression_after_opening_paren = true
|
|
|
|
[isort]
|
|
line_length = 79
|
|
multi_line_output = 0
|
|
extra_standard_library = pkg_resources,setuptools
|
|
known_first_party = mmpretrain
|
|
no_lines_before = STDLIB,LOCALFOLDER
|
|
default_section = THIRDPARTY
|
|
|
|
[codespell]
|
|
skip = *.ipynb
|
|
quiet-level = 3
|
|
ignore-words-list = patten,confectionary,nd,ty,formating,dows
|
|
|
|
[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
|
|
mmpretrain/configs/*: F401,F403,F405
|