Skip to content

Commit

Permalink
Format using black 24.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Jan 29, 2024
1 parent 829d8f7 commit 238ca81
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
exclude: ^docs/

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.1.0
hooks:
- id: black
exclude: ^docs/
Expand Down
1 change: 0 additions & 1 deletion examples/example_kim_SW_Si.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
on OpenKIM_.
"""


##########################################################################################
# Before getting started to train the SW model, let's first make sure it is installed.
#
Expand Down
1 change: 1 addition & 0 deletions examples/example_lennard_jones.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
.. _OpenKIM: https://openkim.org
"""

from kliff.calculators import Calculator
from kliff.dataset import Dataset
from kliff.loss import Loss
Expand Down
1 change: 0 additions & 1 deletion examples/example_nn_Si.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"""


##########################################################################################
# We are going to fit the NN potential to a training set of energies and forces from
# compressed and stretched diamond silicon structures (the same training set used in
Expand Down
1 change: 0 additions & 1 deletion examples/example_nn_SiC.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
specie (take a look at :ref:`tut_nn` for Si if you haven't yet).
"""


from kliff import nn
from kliff.calculators.calculator_torch import CalculatorTorchSeparateSpecies
from kliff.dataset import Dataset
Expand Down
1 change: 0 additions & 1 deletion examples/example_parameter_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
silicon that is archived on OpenKIM_. Compare this with :ref:`tut_kim_sw`.
"""


##########################################################################################
# To start, let's first install the SW model::
#
Expand Down
1 change: 0 additions & 1 deletion examples/example_uq_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
structure.
"""


##########################################################################################
# To start, let's first install the SW model::
#
Expand Down
1 change: 0 additions & 1 deletion examples/example_uq_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
consisting of 4 compressed and stretched configurations of diamond silicon structure.
"""


##########################################################################################
# To start, let's first install the SW model::
#
Expand Down
1 change: 0 additions & 1 deletion examples/legacy/eg_Fisher_info_kim_SW.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
information theory based sensitivity analysis <https://doi.org/10.1063/1.5007842>`_
"""


from kliff.analyzers import Fisher
from kliff.calculators import Calculator
from kliff.dataset import Dataset
Expand Down

0 comments on commit 238ca81

Please sign in to comment.