kyb3r / dhooks

A simple python Discord webhook API wrapper
https://discord.gg/etJNHCQ
MIT License
190 stars 50 forks source link

Updated README.md and conformed code with flake8 styles #16

Closed Taaku18 closed 5 years ago

Taaku18 commented 5 years ago

Made a few non-breaking changes:

Taaku18 commented 5 years ago

Travis CI here gave my PR a All checks have failed for not defining environment variable webhook_url—even though I'm completely impuissant at defining EV's. That shouldn't be a problem caused by my commits.

___________________ ERROR collecting tests/blocking_test.py ____________________
blocking_test.py:11: in <module>
    INVALID_URL = os.getenv('webhook_url') + '55'
E   TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.31 seconds ============================
ERROR: InvocationError for command '/home/travis/virtualenv/python3.5.6/bin/pytest' (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py35: commands failed
The command "tox" exited with 1.
fourjr commented 5 years ago

Will fix CI soon