Skip to content

Patch 1.3.1#8

Merged
Artemonim merged 6 commits intomasterfrom
dev
Jul 1, 2025
Merged

Patch 1.3.1#8
Artemonim merged 6 commits intomasterfrom
dev

Conversation

@Artemonim
Copy link
Copy Markdown
Owner

Added

  • Python Single-Line Docstrings: Implemented support for identifying and merging the generated table of contents with existing single-line Python docstrings ("""docstring""").

Fixed

  • Python Docstring Generation: Fixed a critical bug where repeatedly processing a Python file with a manual docstring would cause content duplication. The logic has been reworked to ensure correct placement of the generated table of contents relative to from __future__ import statements and existing docstrings.

CI/CD

  • CI dev: The CI pipeline now runs on the dev branch, with Codecov reports limited to master.
  • Version check: Added a new check to prevent accidental version bumps in feature branches.

Artemonim added 5 commits July 1, 2025 10:47
### Changed
- Improved handling of manual docstrings in Python files to ensure correct placement and prevent duplication.
- Added a new test to verify the idempotency of processing files with existing manual docstrings.
- Updated `.gitignore` to include `temporary/` and `git_diff.txt`.

### Fixed
- Resolved issues with the generation of Python docstrings to ensure they do not duplicate content on subsequent runs.
This pull request resolves a critical issue where repeatedly processing a Python file with a manual docstring would lead to content duplication.

Key changes:
    - Reworked logic to correctly handle existing docstrings.
    - Enhanced the CI/CD pipeline to run on the 'dev' branch and added checks to prevent accidental version bumps in feature branches.

    Closes #7
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@Artemonim Artemonim merged commit 24cfadf into master Jul 1, 2025
19 checks passed
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.

2 participants