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

https://github.com/jackdewinter/pymarkdown/issues/964 #965

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

jackdewinter
Copy link
Owner

#964

closes #964

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

PR Type: Refactoring

PR Summary: The pull request introduces refactoring changes aimed at improving the readability and maintainability of the codebase. It includes the extraction of error reporting logic into a separate method, removal of redundant assertions, and clarification of variable calculations. The changes are focused on list indentation and heading rules within the markdown parsing library.

Decision: Comment

📝 Type: 'Refactoring' - not supported yet.
  • Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
📝 Complexity: the changes are too large or complex for Sourcery to approve.
  • Unsupported files: the diff contains files that Sourcery does not currently support during reviews.
  • Big diff: the diff is too large to approve with confidence.

General suggestions:

  • Ensure that the removal of Optional types aligns with the expected behavior throughout the application to prevent potential issues with type assumptions.
  • Consider adding comments to complex calculations or refactored code to maintain clarity for future maintainers.
  • Review the refactored error handling to ensure that it correctly abstracts the logic without altering the intended functionality.

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

pymarkdown/plugins/rule_md_029.py Show resolved Hide resolved
pymarkdown/plugins/rule_md_007.py Show resolved Hide resolved
@jackdewinter jackdewinter merged commit 9d83476 into main Jan 28, 2024
11 checks passed
@jackdewinter jackdewinter deleted the issue-964 branch January 28, 2024 18:21
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.

Fix: Some fix final states may not be 100% correct.
1 participant