diff --git a/modules/createEVENT/GeoClawOpenFOAM/AddBuildingForces.py b/modules/createEVENT/GeoClawOpenFOAM/AddBuildingForces.py index 8dfa44d22..c0dcaed13 100755 --- a/modules/createEVENT/GeoClawOpenFOAM/AddBuildingForces.py +++ b/modules/createEVENT/GeoClawOpenFOAM/AddBuildingForces.py @@ -1,5 +1,5 @@ -#!/usr/bin/env python -import argparse # noqa: D100 +#!/usr/bin/env python # noqa: D100 +import argparse import json import os diff --git a/modules/createEVENT/GeoClawOpenFOAM/GeoClaw.py b/modules/createEVENT/GeoClawOpenFOAM/GeoClaw.py index 4773e7f53..b7c7b43c4 100755 --- a/modules/createEVENT/GeoClawOpenFOAM/GeoClaw.py +++ b/modules/createEVENT/GeoClawOpenFOAM/GeoClaw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python # noqa: INP001 +#!/usr/bin/env python # LICENSING INFORMATION #################################################################### """LICENSE INFORMATION: diff --git a/modules/createEVENT/GeoClawOpenFOAM/GeoClawOpenFOAM.py b/modules/createEVENT/GeoClawOpenFOAM/GeoClawOpenFOAM.py index 43dcdbcd0..eaca79762 100755 --- a/modules/createEVENT/GeoClawOpenFOAM/GeoClawOpenFOAM.py +++ b/modules/createEVENT/GeoClawOpenFOAM/GeoClawOpenFOAM.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python # noqa: INP001, D100, EXE002 +#!/usr/bin/env python # noqa: D100 # Copyright (c) 2019 The Regents of the University of California # # This file is part of the SimCenter Backend Applications. diff --git a/modules/createEVENT/GeoClawOpenFOAM/GetOpenFOAMEvent.py b/modules/createEVENT/GeoClawOpenFOAM/GetOpenFOAMEvent.py index 21f776fa1..a711aeda4 100755 --- a/modules/createEVENT/GeoClawOpenFOAM/GetOpenFOAMEvent.py +++ b/modules/createEVENT/GeoClawOpenFOAM/GetOpenFOAMEvent.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python # noqa: INP001, D100 +#!/usr/bin/env python # noqa: D100 import argparse import json import os diff --git a/modules/createEVENT/GeoClawOpenFOAM/hydroUtils.py b/modules/createEVENT/GeoClawOpenFOAM/hydroUtils.py index 9ef0eb510..fc0f2d93b 100755 --- a/modules/createEVENT/GeoClawOpenFOAM/hydroUtils.py +++ b/modules/createEVENT/GeoClawOpenFOAM/hydroUtils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python # noqa: INP001 +#!/usr/bin/env python # LICENSING INFORMATION #################################################################### """LICENSE INFORMATION: diff --git a/modules/createEVENT/MPM/MPM.py b/modules/createEVENT/MPM/MPM.py index 3cf865aee..fa3b8898f 100755 --- a/modules/createEVENT/MPM/MPM.py +++ b/modules/createEVENT/MPM/MPM.py @@ -1,6 +1,5 @@ -#!/usr/bin/env python3 - -import argparse # noqa: INP001, D100 +#!/usr/bin/env python3 # noqa: D100 +import argparse import json diff --git a/modules/createEVENT/MPM/setup_case.py b/modules/createEVENT/MPM/setup_case.py index 281e10d28..74ab7f9f8 100755 --- a/modules/createEVENT/MPM/setup_case.py +++ b/modules/createEVENT/MPM/setup_case.py @@ -1,8 +1,8 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3 """This script writes BC and initial condition, and setups the OpenFoam case directory. -""" # noqa: INP001, D205, D404 +""" # noqa: D205, D404 import json import os diff --git a/modules/createEVENT/TaichiEvent/mpm_lagrangian_forces.py b/modules/createEVENT/TaichiEvent/mpm_lagrangian_forces.py index 6f866c7d9..975f5999b 100755 --- a/modules/createEVENT/TaichiEvent/mpm_lagrangian_forces.py +++ b/modules/createEVENT/TaichiEvent/mpm_lagrangian_forces.py @@ -1,4 +1,6 @@ -import numpy as np # noqa: INP001, D100 +#!/usr/bin/env python3 # noqa: D100 + +import numpy as np import taichi as ti ti.init(arch=ti.gpu) diff --git a/modules/createEVENT/coupledDigitalTwin/CoupledDigitalTwin.py b/modules/createEVENT/coupledDigitalTwin/CoupledDigitalTwin.py index a9d52d45b..17c11ba06 100755 --- a/modules/createEVENT/coupledDigitalTwin/CoupledDigitalTwin.py +++ b/modules/createEVENT/coupledDigitalTwin/CoupledDigitalTwin.py @@ -1,4 +1,6 @@ -import argparse # noqa: INP001, D100 +#!/usr/bin/env python3 # noqa: D100 + +import argparse import json