Closed md1023 closed 6 years ago
This doesn't sound like an issue w/ pylint-quotes per-se, but an issue with your environment. I pushed a branch that has an example package and a pylintrc.ini
file that specifies pylint_quotes
under the load-plugins
option. From that branch:
edaniszewski ~/dev/edaniszewski/pylint-quotes/example (pylintrc *) ➜ cat pylintrc.ini
[MASTER]
load-plugins=pylint_quotes
edaniszewski ~/dev/edaniszewski/pylint-quotes/example (pylintrc *) ➜ pylint --rcfile=pylintrc.ini package/
Using config file /Users/edaniszewski/dev/edaniszewski/pylint-quotes/example/pylintrc.ini
************* Module package.example
C: 4, 0: Invalid string quote ", should be ' (invalid-string-quote)
C: 11, 0: Invalid string quote ", should be ' (invalid-string-quote)
C: 5, 0: Invalid docstring quote ''', should be """ (invalid-docstring-quote)
-------------------------------------------------------------------
Your code has been rated at 2.50/10 (previous run: 10.00/10, -7.50)
edaniszewski ~/dev/edaniszewski/pylint-quotes/example (pylintrc *) ➜ # remove pylint_quotes from pylintrc
edaniszewski ~/dev/edaniszewski/pylint-quotes/example (pylintrc *) ➜ cat pylintrc.ini
[MASTER]
load-plugins=
edaniszewski ~/dev/edaniszewski/pylint-quotes/example (pylintrc *) ➜ pylint --rcfile=pylintrc.ini package/
Using config file /Users/edaniszewski/dev/edaniszewski/pylint-quotes/example/pylintrc.ini
-------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 2.50/10, +7.50)
Right, it was not under [MASTER] section. Sorry and thanks!
No problem! Thanks for testing it out and verifying!
has no effect when put into
pylintrc.ini
, instead I have to callload-plugins
every time: