Closed jschalk closed 2 months ago
This pull request implements several changes related to the documentation process, including updates to atom configuration, stone format handling, and various test improvements. The changes primarily focus on enhancing type handling, refactoring existing functions, and adding new utility functions to support the documentation process.
Change | Details | Files |
---|---|---|
Added new functions for handling Python types in atom configuration |
|
src/gift/atom_config.py src/gift/test_atom/test_atom_config.py |
Refactored stone format handling and CSV loading |
|
src/stone/stone.py src/stone/test_stone/test_stone_format_generate_stone.py |
Added new utility functions for string and list operations |
|
src/_instrument/python_tool.py src/_instrument/test/test_python.py |
Updated test configuration to support big volume tests |
|
conftest.py src/stone/test_stone/test_stone_format_import.py |
Improved error messages and documentation |
|
src/bud/bud.py src/bud/test_bud/test_bud_.py src/gift/legible.py src/gift/test_change/test_change_legible_budunit.py |
Added new timeline configuration file |
|
src/chrono/examples/timeline_config_lizzy9.json |
Summary by Sourcery
Enhance the atom configuration by adding functions to retrieve allowed and argument Python types, introduce a new timeline configuration file, refactor CSV handling functions, and improve error messages. Add new tests to ensure the correctness of these changes and introduce a new pytest option for test parameterization.
New Features:
Bug Fixes:
set_max_tree_traverse
and_allot_missing_scale
functions to improve clarity.Enhancements:
create_changeunit
andload_stone_csv
functions to remove thex_stonename
parameter and derive it internally.get_sorted_headers
function by utilizing a new helper functioncreate_sorted_concatenated_str
for string concatenation.--big_volume
to the pytest configuration to allow parameterization of tests based on this option.Tests:
get_python_type
,get_allowed_python_types
, andget_atom_args_python_types
to ensure they return expected results.get_positional_dict
function to verify its correctness.