ahmedfgad / GeneticAlgorithmPython

Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
https://pygad.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.85k stars 462 forks source link

update string.format to fstring and autopep8 formating #188

Closed KelvinChung2000 closed 1 year ago

KelvinChung2000 commented 1 year ago

Updating all the stings with fstring using pyupgrade --py36-plus to improve the readability of strings.

Minor formatting update with autopep8, which removed some white space in unnecessary places.