This is nitpickery but I think it's worth dipping in. 

In the above code you have three different styles of indentation of parameters. 
* One in line with the first `(`
* One with 28 spaces of indentation
* One with 2 spaces of indentation

The pep8 module will allow the first type only but I think none of them are right actually.  (The first one is wrong because the lines are 89 characters wide). 

The ideal I try to stick to is this format:
```
credentials = pika.credentials.PlainCredentials(
    local_config.rabbitmq_user,
    local_config.rabbitmq_password,
)
```
That's going to pass the pep8 test and it has the main advantage that if you one day decide to add a third parameter no other lines need to change. 
Or, more importantly; say you decide to call the variable `credentials` something shorter (or longer) like `creds`, then you only need to change one line without having to "re-dent" any other lines. 

I hope this helps. Progress trumps perfection but this usually helps going forward because diffs become easier to read.