Skip to content

Commit

Permalink
Tidy for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Jun 11, 2024
1 parent f70e76b commit 733d99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
select = B,BLK,C,E,F,I,S,W
max-complexity = 30
max-line-length = 88
ignore = E203,W503
ignore = E203,W503 # ignore conflicts with black
application-import-names = abcd,tests
import-order-style = google
exclude =
Expand Down
2 changes: 1 addition & 1 deletion abcd/backends/atoms_opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ def rename_property(
query = self.parser(query)
logger.info("rename: query=%s, old=%s, new=%s", query, name, new_name)

script_txt = f"if (!ctx._source.containsKey(params.new_name)) {{ "
script_txt = "if (!ctx._source.containsKey(params.new_name)) {{ "
script_txt += (
f"ctx._source.{new_name} = ctx._source.{name};"
" ctx._source.remove(params.name);"
Expand Down

0 comments on commit 733d99a

Please sign in to comment.