Closed jhanley634 closed 1 week ago
This PR introduces a new paragraph fill feature and makes several improvements to the existing codebase. The changes include adding a new module for paragraph text processing, updating dependencies, and refining the line counting functionality.
classDiagram
class ParagraphFill {
+get_paragraphs(url: str) Iterable~str~
+main() void
}
ParagraphFill : -CONNECTICUT_YANKEE
ParagraphFill : +patch_requests_module()
ParagraphFill : +requests
ParagraphFill : +pandas as pd
note for ParagraphFill "This class processes paragraphs from a given URL using spacy and pandas."
classDiagram
class LineCounter {
+expand_comments(lines: Iterable~str~) Iterable~str~
}
class BashLineCounter {
}
class PythonLineCounter {
}
LineCounter <|-- BashLineCounter
LineCounter <|-- PythonLineCounter
note for LineCounter "Refined line counting functionality with improved comment handling."
Change | Details | Files |
---|---|---|
Added new paragraph fill functionality |
|
src/constraint/paragraph_fill.py |
Updated project dependencies |
|
requirements.txt |
Enhanced line counting test coverage |
|
src/count/tests/sloc_test.py |
Improved code documentation and clarity |
|
src/count/sloc.py talks/2024-11-12-sloc.md |
Summary by Sourcery
Add a new module for paragraph extraction and processing, update comment handling in 'sloc.py', enhance test coverage for rare file types, and update dependencies in 'requirements.txt'.
New Features:
Enhancements:
Tests:
Chores: