title: How to use yapf (or black) in VSCode
body: <p>I installed yapf using:</p>
  
  <pre><code>conda install yapf
  </code></pre>
  
  <p>and add next lines in my <code>.vscode/settings.json</code> file:</p>
  
  <pre><code>{
      //"python.linting.pylintEnabled": true,
      //"python.linting.pycodestyleEnabled": false,
      //"python.linting.flake8Enabled": true,
      "python.formatting.provider": "yapf",
      "python.formatting.yapfArgs": [
          " — style",
          "{based_on_style: pep8, indent_width: 4}"
      ],
      "python.linting.enabled": true,
  }
  </code></pre>
  
  <p>But I can't understand how to use it - it doesn't show any error in a bad-formatted script:</p>
  
  <pre><code>import pandas as pd
  
  class MyClass(object):
      def __init__(self, some_value: int):
          self.value = some_value
      def one_more_function(self, another_value):
          print(another_value)
  myObject = MyClass(45)
  myObject.one_more_function(2)
  my__object2 = MyClass(324)
  
      print('ok')
  def some_foo():
      """
      """
      pass
  </code></pre>