Skip to content

2.0.6 fails if pylint_params is not set #31

@nicholasbishop

Description

@nicholasbishop
$ git-pylint-commit-hook 
Running pylint on sitehandler.py (file 1/1)..   Traceback (most recent call last):
  File "/home/nicholasbishop/neverware/mothership/venv/bin/git-pylint-commit-hook", line 65, in <module>
    main()
  File "/home/nicholasbishop/neverware/mothership/venv/bin/git-pylint-commit-hook", line 58, in main
    args.limit, args.pylint, args.pylintrc, args.pylint_params)
  File "/home/nicholasbishop/neverware/mothership/venv/lib/python2.7/site-packages/git_pylint_commit_hook/commit_hook.py", line 131, in check_repo
    if '--rcfile' not in pylint_params:
TypeError: argument of type 'NoneType' is not iterable

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions