edaniszewski / pylint-quotes

Pylint plugin for checking the consistency of string quotes
MIT License
42 stars 14 forks source link

Switch to latest version of pylint and fix runtime bug #25

Closed DavidPal closed 3 years ago

DavidPal commented 3 years ago

This PR fixes issues:

List of changes:

Testing:

C = """hello world """

D = ''' hello world '''

def foo(): '''Foo''' pass


- I have installed the package and its dependencies: `pip install --editable . `
- I have run `pylint --load-plugins=pylint_quotes x.py`

---
I have tried tried running unit tests with `make test`, but get a lot of identical errors:
`TypeError: 'module' object is not callable`. The same errors show up in Travis.

Travis builds also fail for Python 3.4 and 3.5.
edaniszewski commented 3 years ago

Thanks for the contribution - this looks great.

I'll merge this in and try to work through the import errors seen in tests. I suspect there was just a change in module naming in pylint so now this is importing a module instead of a function.