Skip to content
Snippets Groups Projects
Commit 08af0adc authored by Matt Harbison's avatar Matt Harbison
Browse files

pytype: stop excluding ssutil.py

Pytype simply can't distinguish the type for this one entry's value from the
other values:

  File "/mnt/c/Users/Matt/hg/mercurial/sslutil.py", line 142, in _hostsettings:
      No attribute 'append' on None [attribute-error]
    In Optional[Union[Any, List[nothing], bool, bytes]]
  File "/mnt/c/Users/Matt/hg/mercurial/sslutil.py", line 142, in _hostsettings:
      No attribute 'append' on bool [attribute-error]
    In Optional[Union[Any, List[nothing], bool, bytes]]
  File "/mnt/c/Users/Matt/hg/mercurial/sslutil.py", line 142, in _hostsettings:
      No attribute 'append' on bytes [attribute-error]
    In Optional[Union[Any, List[nothing], bool, bytes]]
  File "/mnt/c/Users/Matt/hg/mercurial/sslutil.py", line 147, in _hostsettings:
      No attribute 'append' on None [attribute-error]
    In Optional[Union[Any, List[Tuple[Any, Any]], bool, bytes]]
  File "/mnt/c/Users/Matt/hg/mercurial/sslutil.py", line 147, in _hostsettings:
      No attribute 'append' on bool [attribute-error]
    In Optional[Union[Any, List[Tuple[Any, Any]], bool, bytes]]
  File "/mnt/c/Users/Matt/hg/mercurial/sslutil.py", line 147, in _hostsettings:
      No attribute 'append' on bytes [attribute-error]
    In Optional[Union[Any, List[Tuple[Any, Any]], bool, bytes]]

Differential Revision: https://phab.mercurial-scm.org/D11931
parent 81805bba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment