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 --source option #257

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@brbsix
Copy link
Contributor

brbsix commented May 8, 2017

This fixes the erroneous output described in #256.

Perhaps someone else can decide if the line numbers displayed by --source should be of fixed width (in which case lines https://github.com/PyCQA/pydocstyle/blob/master/src/pydocstyle/violations.py#L56-L59 can be removed) or not (in which case line https://github.com/PyCQA/pydocstyle/blob/master/src/pydocstyle/violations.py#L60 can be removed).

@brbsix brbsix changed the title Fix string formatting Fix --source option May 8, 2017

@Nurdok

This comment has been minimized.

Copy link
Member

Nurdok commented May 10, 2017

Can you please add some tests to make sure this doesn't break again?

@Nurdok Nurdok referenced this pull request May 26, 2017

Merged

Fix --source option #260

@Nurdok

This comment has been minimized.

Copy link
Member

Nurdok commented May 26, 2017

Closing - continued in #260.

@Nurdok Nurdok closed this May 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment