Skip to content

Commit ea4941b

Browse files
committed
fix: pre-commit
1 parent 3efe7b9 commit ea4941b

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ repos:
3939
- id: add-license-headers
4040
args:
4141
- --start_year=2023
42+
exclude: |
43+
(?x)^(
44+
_package/.*
45+
)$
4246
4347
# this validates our github workflow files
4448
- repo: https://github.com/python-jsonschema/check-jsonschema

_package/src/pyconverter/generatedcommands/subfolder/subsubfolder/prep7/explicit_dynamic.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,9 +1408,7 @@ def ednrot(
14081408
Distributed ANSYS Restriction: This command is not supported in
14091409
Distributed ANSYS.
14101410
"""
1411-
command = (
1412-
f"EDNROT,{option},{cid},{cname},{dof1},{dof2},{dof3},{dof4},{dof5},{dof6}"
1413-
)
1411+
command = f"EDNROT,{option},{cid},{cname},{dof1},{dof2},{dof3},{dof4},{dof5},{dof6}"
14141412
return self.run(command, **kwargs)
14151413

14161414
def edpart(self, option="", partid="", cname="", **kwargs):
@@ -1697,7 +1695,9 @@ def edweld(
16971695
Distributed ANSYS Restriction: This command is not supported in
16981696
Distributed ANSYS.
16991697
"""
1700-
command = f"EDWELD,{option},{nweld},{n1},{n2},{sn},{ss},{expn},{exps},{epsf},{tfail},{nsw},{cid}"
1698+
command = (
1699+
f"EDWELD,{option},{nweld},{n1},{n2},{sn},{ss},{expn},{exps},{epsf},{tfail},{nsw},{cid}"
1700+
)
17011701
return self.run(command, **kwargs)
17021702

17031703
def edadapt(self, part="", key="", **kwargs):
@@ -3974,4 +3974,4 @@ def rexport(self, target="", lstep="", sbstep="", fname="", ext="", **kwargs):
39743974
command is issued.
39753975
"""
39763976
command = f"REXPORT,{target},,,{lstep},{sbstep},{fname},{ext}"
3977-
return self.run(command, **kwargs)
3977+
return self.run(command, **kwargs)

0 commit comments

Comments
 (0)