Skip to content

Commit

Permalink
cleanup EXE002, INP001, D100
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBonus committed Sep 19, 2024
1 parent cbef0a3 commit 85992e7
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions modules/createEVENT/GeoClawOpenFOAM/AddBuildingForces.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
import argparse # noqa: D100
#!/usr/bin/env python # noqa: D100
import argparse
import json
import os

Expand Down
2 changes: 1 addition & 1 deletion modules/createEVENT/GeoClawOpenFOAM/GeoClaw.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python # noqa: INP001
#!/usr/bin/env python
# LICENSING INFORMATION
####################################################################
"""LICENSE INFORMATION:
Expand Down
2 changes: 1 addition & 1 deletion modules/createEVENT/GeoClawOpenFOAM/GeoClawOpenFOAM.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion modules/createEVENT/GeoClawOpenFOAM/GetOpenFOAMEvent.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python # noqa: INP001, D100
#!/usr/bin/env python # noqa: D100
import argparse
import json
import os
Expand Down
2 changes: 1 addition & 1 deletion modules/createEVENT/GeoClawOpenFOAM/hydroUtils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python # noqa: INP001
#!/usr/bin/env python
# LICENSING INFORMATION
####################################################################
"""LICENSE INFORMATION:
Expand Down
5 changes: 2 additions & 3 deletions modules/createEVENT/MPM/MPM.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3

import argparse # noqa: INP001, D100
#!/usr/bin/env python3 # noqa: D100
import argparse
import json


Expand Down
4 changes: 2 additions & 2 deletions modules/createEVENT/MPM/setup_case.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion modules/createEVENT/TaichiEvent/mpm_lagrangian_forces.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 3 additions & 1 deletion modules/createEVENT/coupledDigitalTwin/CoupledDigitalTwin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import argparse # noqa: INP001, D100
#!/usr/bin/env python3 # noqa: D100

import argparse
import json


Expand Down

0 comments on commit 85992e7

Please sign in to comment.