Small tweak to incorrect readme instructions #14
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The README says that you can pass a statsd client in the following manner:
exceptions = AddExceptions(app, statsd)
.However, the second positional argument to
__init__
for theAddExceptions
class is a config object to use (the third is the statsd counter). For obvious reasons, it fails to instantiate the object when a statsd client is passed in as a config object :)This change merely updates the README to correctly reflect how to initialize the
AddExceptions
object.Also, I added .envrc to the .gitignore to correctly ignore both so it can be up to the contributor whether to use autoenv or direnv.