Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Fixes #57 runs black & isort for code formatting check #61

Merged
merged 3 commits into from
Jun 4, 2020

Commits on Jun 4, 2020

  1. Fixes #57 runs black & isort for code formatting

    To have latest black, we need updated typed-ast,
    for that we have to upgrade mypy too, and for mypy
    upgrade to work, we had to upgrade the mypy-extensions.
    
    It first runs isort to check if it passes, and then
    it runs black. Both uses 100 as line length.
    
    setup.py marks Python version as >= 3.7 as we are testing
    and running the code only on 3.7 on Debian Buster.
    
    Also contains the formatting change in proxy.py for black
    check to run sucessfully on CI.
    kushaldas committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    f9bcbd3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    787844d View commit details
    Browse the repository at this point in the history
  3. Adds a .git-blame-ignore-revs file

    It adds a configuration file to skip the previous commmit
    which has isort and black formatting changes.
    
    ```
    git config blame.ignoreRevsFile .git-blame-ignore-revs
    ````
    
    After one executes the above command, `git blame` does not show
    details for the formatting commit.
    kushaldas committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    32e6271 View commit details
    Browse the repository at this point in the history