Skip to content

Commit a35fb8e

Browse files
author
Irina
committed
reformat
1 parent 7d19e31 commit a35fb8e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Homepage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import matplotlib.pyplot as plt
22
import requests
33
import streamlit as st
4-
from validation import eia_schema
54

65
from tests.eia_part3 import (
76
build_df_from_eia_data,
87
filter_since,
98
latest_value,
109
sum_by_week,
1110
)
11+
from validation import eia_schema
1212

1313
st.set_page_config(page_title="Weekly U.S. Petroleum Supply", layout="wide")
1414
st.title("The Correlation between Weekly U.S. Petroleum Product Supplied and WTI Crude Oil Price")

tests/test_validation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ def test_schema_rejects_negative_values():
1515

1616
with pytest.raises(pa.errors.SchemaError):
1717
eia_schema.validate(df)
18-

0 commit comments

Comments
 (0)