Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements to the
gtfparselibrary, including the addition of type annotations for better code clarity, enhancements to the build system, and updates to function documentation. It also simplifies dependency management and modernizes the project structure. Below are the most important changes grouped by theme.Code Enhancements and Type Annotations:
expand_attribute_stringsingtfparse/attribute_parsing.py,create_missing_featuresingtfparse/create_missing_features.py, and various parsing functions ingtfparse/read_gtf.py, improving code readability and type safety. [1] [2] [3] [4] [5]Build System and Dependency Management:
requirements.txtfile with apyproject.tomlconfiguration, aligning with modern Python packaging standards. Dependencies, including development dependencies, are now specified in the[project]and[project.optional-dependencies]sections..github/workflows/tests.ymlto usepip install ".[dev]"for installing development dependencies.Documentation and Functionality Improvements:
parse_with_polars_lazyandparse_gtf_and_expand_attributesingtfparse/read_gtf.py, explaining parameters, return types, and usage examples for better developer understanding. [1] [2]