From 7af0a3405b68d01111491cd45a9cec616d0f14fc Mon Sep 17 00:00:00 2001 From: bitranox Date: Fri, 21 Jul 2023 18:29:12 +0200 Subject: [PATCH] v2.1.3 -------- 2023-07-21: - require minimum python 3.8 - remove python 3.7 tests - introduce PEP517 packaging standard - introduce pyproject.toml build-system - remove mypy.ini - remove pytest.ini - remove setup.cfg - remove setup.py - remove .bettercodehub.yml - remove .travis.yml - update black config - clean ./tests/test_cli.py - add codeql badge - move 3rd_party_stubs outside the src directory to ``./.3rd_party_stubs`` - add pypy 3.10 tests - add python 3.12-dev tests --- rst_include/libs/lib_block_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rst_include/libs/lib_block_options.py b/rst_include/libs/lib_block_options.py index e1dcd3e..adb0a98 100644 --- a/rst_include/libs/lib_block_options.py +++ b/rst_include/libs/lib_block_options.py @@ -148,7 +148,7 @@ def get_option_key_from_source_line(source_line: SourceLine) -> str: def log_and_raise_value_error_if_option_not_in_block(option: str, block: Block) -> None: if not is_option_in_block(option, block): s_error = f'Error in File: "{block.source}", option "{option}' \ - f'" not found in block starting with Line: {block.l_source_lines[0].line_number}' # noqa: E713 # for python 3.12beta + f'" not found in block starting with Line: {block.l_source_lines[0].line_number}' # noqa: E126 # for python 3.12beta lib_log_utils.log_error(s_error) raise ValueError(s_error)