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

Fix Module.is_public() when the module is not a the root #470

Closed
wants to merge 4 commits into from

Conversation

tibdex
Copy link
Contributor

@tibdex tibdex commented May 4, 2020

Thanks for submitting a PR!

Please make sure to check for the following items:

  • Add unit tests and integration tests where applicable.
    If you've added an error code or changed an error code behavior,
    you should probably add or change a test case file under tests/test_cases/ and add
    it to the list under tests/test_definitions.py.
    If you've added or changed a command line option,
    you should probably add or change a test in tests/test_integration.py.
  • Add a line to the release notes (docs/release_notes.rst) under "Current Development Version".
    Make sure to include the PR number after you open and get one.

Please don't get discouraged as it may take a while to get a review.

Copy link
Member

@Nurdok Nurdok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Note that there is prior art on this in #326, but it looks stale, so I'm closing it now)

src/pydocstyle/parser.py Outdated Show resolved Hide resolved
@samj1912
Copy link
Member

samj1912 commented Jul 5, 2020

@tibdex I think this is a good patch, can you please switch to pathlib so that we can merge this :)

@samj1912 samj1912 requested a review from Nurdok July 6, 2020 20:23
@@ -1,6 +1,7 @@
"""Parser tests."""

import io
import os
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use pathlib in this file, too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in PR #494.

@samj1912
Copy link
Member

@tibdex bump?

@tibdex
Copy link
Contributor Author

tibdex commented Jul 27, 2020

See #494 (comment).

@tibdex tibdex closed this Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants