All notable changes to this project will be documented in this file.
The format follows Keep a Changelog.
ini_cfg_parser/ini_cfg_parser.py:- Fixed a bug where character encoding mismatches occurred because the encoding was not specified in the
def read_inifile()process.
- Fixed a bug where character encoding mismatches occurred because the encoding was not specified in the
tests/test_ini_parser.py:- Added a test in pytest that uses full-width characters.
README.md:- Added ubuntu to Tested Environments.
README.ja.md:- Corrected the typo in the file name "README.md". README.ja.md->README.md
- Added default settings for error message output.
- Added ubuntu to Tested Environments.
README.md:- Corrected the link destination.
README.ja.md:- Corrected the link destination.
examples/sample_ini_parser.py:- Fixed pip install command for ini_cfg_parser.
- Removed unused configparser.
README.md:- Fixed to be able to switch between Japanese and English.
- Added Tested Environments.
README.ja.md:tests/requirements.txt:
ini_cfg_parser/ini_cfg_parser.py:- Fixed a bug where unnecessary half-width characters were included when there were half-width spaces before and after the comma (,) when type was List[str].
ini_cfg_parser/ini_cfg_parser.py:- Supports "csv format" when the type is List[int], List[float], or List[bool].
tests/test_ini_parser.py:- def test_ini_setting_csvfmt(): Added a test for list type.
ini_cfg_parser/ini_cfg_parser.py:- When type is List[str], it is now compatible with "csv format". It is now compatible with strings containing "," enclosed in double quotation marks.
- Create a self.parsed_val variable to store the information.
tests/test_ini_parser.py:- def test_ini_setting_csvfmt(): Added
- def test_parsed_val(): Added
examples/sample_ini_parser.py:- Corrected the example to use the variable parsed_val.
- Removed the version check process.
ini_cfg_parser/ini_cfg_parser.py:- Removed unused import process for libirar packaging.
tests/test_ini_parser.py:- def test_is_valid_ini_dict(): Added
- def test_is_valid_ini_value(): Added
- def test_set_use_def_val(): Added
- def test_set_fallback_def_val(): Added
- def test_die_print(capsys): Added
setup.cfg:- Removed 'packaging' from install_requires.
setup.cfg:- Changed python_requires from 3.10 to 3.8.
ini_cfg_parser/ini_cfg_parser.py:matchstatements have been changed toifstatements. Reason=To accommodate a wider range of Python environments.
###Fixed
ini_cfg_parser/ini_cfg_parser.py:- def write_inifile(): Modified to prevent the information in the DEFAULT section from being copied to other sections.
README.md: Added explanation.ini_cfg_parser/ini_cfg_parser.py:- def _get_value(): Modified to allow information from the ini file to be obtained even if there is no information in ini_dict.
- def add_section(): Added
- def add_ini_dict_keys(): Added
tests/test_ini_parser.py:- def test_nosection_set(): Added
- def test_no_inidict(): Added
ini_cfg_parser/ini_cfg_parser.py:- Removed
__version__information from classIniParser. - Changed to version management using
__version__in__init__.py. - Added def items().
- Fixed the return specification. class SectionProxy def items()
- Fixed the return specification. class SectionProxy def keys()
- Removed
tests/test_ini_parser.py:- Added def test_def_items().
- Added def test_def_keys().
README.md: Fixed a typo in Operation Mode
- Initial commit for public release