Skip to content

Commit

Permalink
Updated readme, updated version of coverage and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jessamynsmith committed Apr 23, 2015
1 parent 054888a commit e3da9fb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .requirementsrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ twitter = 1.17.0
twitterbot = 0.2.3

[development]
coverage = 3.7.1
coverage = 4.0a5
mock = 1.0.1
nose = 1.3.6
flake8 = 2.4.0
mccabe = 0.3
pep8 = 1.5.7
pyflakes = 0.8.1
coveralls = 0.5
coveralls = 1.0a2
docopt = 0.6.2
PyYAML = 3.11
pipreq = 0.4
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,27 @@ There are two scheduled tasks set up:
Development
-----------

Get source:
Fork the project on github and git clone your fork, e.g.:

git clone https://github.com/jessamynsmith/underquotedbot
git clone https://github.com/<username>/underquotedbot.git

Set up virtualenv:

mkvirtualenv underquotedbot --python=/path/to/python3
mkvirtualenv underquotedbot
pip install -r requirements/development.txt

Run tests:

coverage run -m nose
coverage report

Verify all supported Python versions:

tox

Check code style:

flake8

Run bot:

Expand Down
2 changes: 1 addition & 1 deletion bot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class UnderquotedBotSettings(Settings):
""" Settings for HeartBot """
""" Settings for UnderquotedBot """
def __init__(self):
super(UnderquotedBotSettings, self).__init__()
self.MESSAGE_PROVIDER = QuotationProvider
Expand Down
4 changes: 2 additions & 2 deletions requirements/development.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r common.txt
PyYAML==3.11
coverage==3.7.1
coveralls==0.5
coverage==4.0a5
coveralls==1.0a2
docopt==0.6.2
flake8==2.4.0
mccabe==0.3
Expand Down

0 comments on commit e3da9fb

Please sign in to comment.