Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

path to file is lowercased #179

Closed
fdobrovolny opened this issue Mar 26, 2016 · 6 comments
Closed

path to file is lowercased #179

fdobrovolny opened this issue Mar 26, 2016 · 6 comments

Comments

@fdobrovolny
Copy link

When I enter full path to file in output the path is lowecased. This leads to errors in for example atom-pydocstyle because it opens files which don't exists.

[fdobrovolny@minos sis]$ pydocstyle /home/fdobrovolny/DEV/sis/.../function_based.py
/home/fdobrovolny/dev/sis/.../function_based.py:12 in public function `paginate`:
        D400: First line should end with a period (not 's')

(...=path is shortened)

[fdobrovolny@minos sis]$ pydocstyle --version
1.0.0
@Nurdok
Copy link
Member

Nurdok commented Mar 26, 2016

Thanks for reporting this, I'll try to get on it as soon as I can, but it will probably take me a few days.
Also, I didn't know about linter-pydocstyle. Awesome!

@sigmavirus24
Copy link
Member

From what I can tell, pydocstyle opens the file without changing the casing. I think pydocstyle is just lower-casing the path when it prints it though. Is that what is causing problems for atom-pydocstyle?

@fdobrovolny
Copy link
Author

@sigmavirus24 yes, excatly that's the problem.

@sigmavirus24
Copy link
Member

I've submitted #181 which I think fixes this. Please try it out @BrnoPCmaniak (you may also need PR #180 for it to work though).

@fdobrovolny
Copy link
Author

@sigmavirus24 works 100% thanks a lot.

@sigmavirus24
Copy link
Member

I think @Nurdok might want to leave this open until that's merged. Thanks for confirming though @BrnoPCmaniak

@sigmavirus24 sigmavirus24 reopened this Mar 26, 2016
sigmavirus24 added a commit to sigmavirus24/pep257 that referenced this issue Mar 27, 2016
This leads to problems for tools integrating with pydocstyle, e.g., atom
linter-pydocstyle

Closes PyCQA#179
@Nurdok Nurdok added this to the pydocstyle 1.1.0 milestone Jul 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants