Edit

kc3-lang/brotli/python

Branch :

  • Show log

    Commit

  • Author : Alex Nicksay
    Date : 2016-11-09 06:21:13
    Hash : 1e5ea6ae
    Message : Python: Add unit tests for brotli.compress and brotli.decompress (#467) Also - rename `test_utils` to `_test_utils` - refactor shared code into `_test_utils`

  • README.md
  • This directory contains the code for the Python brotli module, bro.py tool, and roundtrip tests.

    Development

    To build the module, execute the following from the root project directory:

    $ python setup.py build
    

    To test the module, execute the following from the root project directory:

    $ python setup.py test
    

    Code Style

    Brotli's code follows the Google Python Style Guide. To automatically format your code, install YAPF:

    $ pip install yapf
    

    Then, either format a single file:

    $ yapf --in-place FILE
    

    Or, format all files in a directory:

    $ yapf --in-place --recursive DIR
    

    See the YAPF usage documentation for more information.