From 64192037210ba148a3a8fcb30b275f17d925aa86 Mon Sep 17 00:00:00 2001 From: Jan Kaiser Date: Tue, 16 Jan 2024 15:44:00 +0100 Subject: [PATCH] Ignore iterable modification flake8 warning --- .flake8 | 2 +- cheetah/converters/dontbmad.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.flake8 b/.flake8 index 0a20a87f..e10fd1b0 100644 --- a/.flake8 +++ b/.flake8 @@ -7,4 +7,4 @@ exclude = .ipynb_checkpoints max-line-length = 88 extend-ignore = E203, W503 -ignore = BLK100 \ No newline at end of file +ignore = BLK100 diff --git a/cheetah/converters/dontbmad.py b/cheetah/converters/dontbmad.py index 5595c22e..9774349b 100644 --- a/cheetah/converters/dontbmad.py +++ b/cheetah/converters/dontbmad.py @@ -426,7 +426,7 @@ def validate_understood_properties(understood: list[str], properties: dict) -> N assert property in understood, ( f"Property {property} with value {properties[property]} for element type" f" {properties['element_type']} is currently not understood. Other values" - f" in properties are {properties.keys()}." + f" in properties are {properties.keys()}." # noqa: B038 )