Skip to content
Snippets Groups Projects
  • Junjun2016's avatar
    67f14204
    [Enhancement] Add codespell pre-commit hook and fix typos (#920) · 67f14204
    Junjun2016 authored
    * add codespell pre-commit hook and fix typos
    
    * Update mmseg/models/decode_heads/dpt_head.py
    
    * Update mmseg/models/backbones/vit.py
    
    * Update mmseg/models/backbones/vit.py
    
    * fix typos
    
    * skip formating typo
    
    * deprecate formating
    
    * skip ipynb
    
    * unstage ipynb changes
    
    * unstage ipynb changes
    
    * fix typos in ipynb
    
    * unstage ipynb changes
    67f14204
    History
    [Enhancement] Add codespell pre-commit hook and fix typos (#920)
    Junjun2016 authored
    * add codespell pre-commit hook and fix typos
    
    * Update mmseg/models/decode_heads/dpt_head.py
    
    * Update mmseg/models/backbones/vit.py
    
    * Update mmseg/models/backbones/vit.py
    
    * fix typos
    
    * skip formating typo
    
    * deprecate formating
    
    * skip ipynb
    
    * unstage ipynb changes
    
    * unstage ipynb changes
    
    * fix typos in ipynb
    
    * unstage ipynb changes
setup.cfg 571 B
[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
known_standard_library = setuptools
known_first_party = mmseg
known_third_party = PIL,cityscapesscripts,cv2,detail,matplotlib,mmcv,numpy,onnxruntime,packaging,prettytable,pytest,pytorch_sphinx_theme,requests,scipy,seaborn,torch,ts
no_lines_before = STDLIB,LOCALFOLDER
default_section = THIRDPARTY

[codespell]
skip = *.po,*.ts,*.ipynb
count =
quiet-level = 3
ignore-words-list = formating,sur,hist