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

Ignore self calls #374

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

johndoknjas
Copy link

@johndoknjas johndoknjas commented Oct 6, 2024

This PR makes it so that top level functions calling themselves don't count as cases of the function being used. This partially fixes #354, but only for top level functions.

Description

Related Issue

#354

Checklist:

  • I have updated the documentation in the README.md file or my changes don't require an update.
  • I have added an entry in CHANGELOG.md.
  • I have added or adapted tests to cover my changes.
  • I have run pre-commit run --all-files to format and lint my code.

@johndoknjas johndoknjas marked this pull request as draft October 8, 2024 17:07
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.

Dealing with recursive functions that are only called by themselves
1 participant