Skip to content

Commit 0c507b8

Browse files
committed
Python code linting changes detected by black
1 parent 26ffd01 commit 0c507b8

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/well_event_schedule.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def main():
3636

3737
print("Well name: ", well_path.name)
3838

39-
4039
# Get the event timeline
4140
print("\n2. Adding well events to the timeline...")
4241
well_path_coll = project.descendants(rips.WellPathCollection)[0]
@@ -115,9 +114,7 @@ def main():
115114
"VFP_TABLE": 1,
116115
},
117116
)
118-
print(
119-
" Added WCONHIST event on 2024-01-15 (historical production control)"
120-
)
117+
print(" Added WCONHIST event on 2024-01-15 (historical production control)")
121118

122119
# Example 2: WELTARG - Well target change
123120
_weltarg_event = timeline.add_well_keyword_event(
@@ -198,7 +195,14 @@ def main():
198195

199196
# Validate expected keywords are present
200197
print("\n7. Validating generated Eclipse keywords...")
201-
expected_keywords = ["DATES", "WELSEGS", "COMPSEGS", "WCONHIST", "WELTARG", "WRFTPLT"]
198+
expected_keywords = [
199+
"DATES",
200+
"WELSEGS",
201+
"COMPSEGS",
202+
"WCONHIST",
203+
"WELTARG",
204+
"WRFTPLT",
205+
]
202206
found_keywords = [kw for kw in expected_keywords if kw in schedule_text]
203207

204208
print(f" Keywords found: {', '.join(found_keywords)}")

0 commit comments

Comments
 (0)