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

Handle one-liner defintions #77

Merged
merged 2 commits into from Nov 7, 2014
Merged

Handle one-liner defintions #77

merged 2 commits into from Nov 7, 2014

Conversation

@Nurdok
Copy link
Member

@Nurdok Nurdok commented Jul 21, 2014

Fixed issue #76.

Nurdok added 2 commits Jun 27, 2014
Test worked on first run and failed on the second run.
The reason for this is the reference to `__file__` in `test.py`.
The problem is that after the first run, `__file__` points to the `.pyc` file instead of the original `.py` file which makes `pep257` fail (because it requires the source).
@adrianmoisey
Copy link

@adrianmoisey adrianmoisey commented Nov 5, 2014

I just hit this bug. This PR is old, it would be great if it could be merged. @crs17 @JensRantil @JoanPeturPetersen @keleshev, is anyone still maintaining this project?

Loading

Nurdok added a commit that referenced this issue Nov 7, 2014
Handle one-liner defintions
@Nurdok Nurdok merged commit 9589896 into PyCQA:master Nov 7, 2014
1 check passed
Loading
@Nurdok Nurdok deleted the issue-76 branch Nov 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants