Skip to content

Commit

Permalink
ruff enable flynt
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed May 14, 2023
1 parent d3e4d2b commit f7b4a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/ext/matproj.py
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ def get_interface_reactions(
`pymatgen.analysis.reaction_calculator.Reaction`.
"""
payload = {
"reactants": " ".join([reactant1, reactant2]),
"reactants": f"{reactant1} {reactant2}",
"open_el": open_el,
"relative_mu": relative_mu,
"use_hull_energy": use_hull_energy,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ select = [
"D", # pydocstyle
"E", # pycodestyle error
"F", # pyflakes
"FLY", # flynt
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
Expand Down

0 comments on commit f7b4a50

Please sign in to comment.