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

Sourcery refactored main branch #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sourcery-ai[bot]
Copy link

@sourcery-ai sourcery-ai bot commented Aug 11, 2023

Branch main refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the main branch, then run:

git fetch origin sourcery/main
git merge --ff-only FETCH_HEAD
git reset HEAD^

Help us improve this pull request!

@sourcery-ai sourcery-ai bot requested a review from pikki622 August 11, 2023 20:27
def __init__ (
def __init__(
Copy link
Author

Choose a reason for hiding this comment

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

Function PackageDoc.__init__ refactored with the following changes:

def get_docstring (
def get_docstring(
Copy link
Author

Choose a reason for hiding this comment

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

Function PackageDoc.get_docstring refactored with the following changes:

Comment on lines -180 to +178
def parse_method_docstring (
def parse_method_docstring(
Copy link
Author

Choose a reason for hiding this comment

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

Function PackageDoc.parse_method_docstring refactored with the following changes:

Comment on lines -226 to +220
def fix_fwd_refs (
def fix_fwd_refs(
Copy link
Author

Choose a reason for hiding this comment

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

Function PackageDoc.fix_fwd_refs refactored with the following changes:

Comment on lines -251 to +244
def document_method (
def document_method(
Copy link
Author

Choose a reason for hiding this comment

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

Function PackageDoc.document_method refactored with the following changes:

Comment on lines -54 to +52
def replace_pyvis_iframe (
def replace_pyvis_iframe(
Copy link
Author

Choose a reason for hiding this comment

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

Function replace_pyvis_iframe refactored with the following changes:

Comment on lines -93 to +87
def replace_sys_header (
def replace_sys_header(
Copy link
Author

Choose a reason for hiding this comment

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

Function replace_sys_header refactored with the following changes:

def filter_quotes (text, is_email=True):
def filter_quotes(text, is_email=True):
Copy link
Author

Choose a reason for hiding this comment

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

Function filter_quotes refactored with the following changes:

This removes the following comments ( why? ):

# strip off any trailing unsubscription notice

Comment on lines -277 to +281
def increment_edge (self, node0, node1):
def increment_edge(self, node0, node1):
"""
increment the weight for an edge between the two given nodes,
creating the edge first if needed
"""
if self.logger:
self.logger.debug("link {} {}".format(node0, node1))
self.logger.debug(f"link {node0} {node1}")

Copy link
Author

Choose a reason for hiding this comment

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

Function TextRank.increment_edge refactored with the following changes:

Comment on lines -291 to +288
def link_sentence (self, sent):
def link_sentence(self, sent):
Copy link
Author

Choose a reason for hiding this comment

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

Function TextRank.link_sentence refactored with the following changes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants