Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paver lint --all to test new pocket-lint/scame #5

Open
hcs0 opened this issue Jul 7, 2017 · 0 comments
Open

Fix paver lint --all to test new pocket-lint/scame #5

hcs0 opened this issue Jul 7, 2017 · 0 comments
Assignees
Labels

Comments

@hcs0
Copy link

hcs0 commented Jul 7, 2017

Running a test using a custom pocket-lint version for #2 to add checker for semantic newline.

The test document will normally pass paver lint but under paver --all it should not pass.

$ ./paver.sh lint --all
---> brink.pavement_commons.lint


Captured Task Output:
---------------------

---> brink.pavement_commons.lint
Traceback (most recent call last):
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/paver/tasks.py", line 196, in _run_task
    return do_task()
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/paver/tasks.py", line 193, in do_task
    return func(**kw)
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/brink/pavement_commons.py", line 113, in lint
    pocket_lint_result = check_sources(options)
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/scame/__main__.py", line 235, in check_sources
    checker.check()
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/scame/formatcheck.py", line 460, in check
    checker.check()
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/scame/formatcheck.py", line 551, in check
    self.check_length(line_no, line)
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/scame/formatcheck.py", line 481, in check_length
    icon='info',
  File "/Users/guest1/ProAtria/server/build-macos1012-x64/lib/python2.7/site-packages/scame/formatcheck.py", line 369, in message
    if self._isExceptedLine(self._lines[line_no - 1], category, code):
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants