Skip to content

Commit

Permalink
use fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
whoburg committed Jan 5, 2024
1 parent 573e727 commit 1417fb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gpkit/__init__.py
Expand Up @@ -23,8 +23,8 @@

if "just built!" in settings: # pragma: no cover
run_unit_tests(verbosity=1)
print("""
GPkit is now installed with solver(s) %s
print(f"""
GPkit is now installed with solver(s) {settings["installed_solvers"]}
To incorporate new solvers at a later date, run `gpkit.build()`.
If any tests didn't pass, please post the output above
Expand All @@ -41,4 +41,4 @@
to be useful resources for your own applications.
Enjoy!
""" % settings["installed_solvers"])
""")

0 comments on commit 1417fb1

Please sign in to comment.