Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ltelab/disdrodb
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiggi committed Dec 19, 2023
2 parents 95fd0c9 + ee0c775 commit 08416eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.8
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.0
hooks:
- id: black
language_version: python3
Expand Down
12 changes: 6 additions & 6 deletions disdrodb/tests/test_l0/test_l0a_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,12 +596,12 @@ def test_read_raw_files():
verbose = False

# Create a test dataframe
df1 = pd.DataFrame({
"time": pd.date_range(start="2022-01-01", end="2022-01-02", freq="H"), "value": np.random.rand(25)
})
df2 = pd.DataFrame({
"time": pd.date_range(start="2022-01-03", end="2022-01-04", freq="H"), "value": np.random.rand(25)
})
df1 = pd.DataFrame(
{"time": pd.date_range(start="2022-01-01", end="2022-01-02", freq="H"), "value": np.random.rand(25)}
)
df2 = pd.DataFrame(
{"time": pd.date_range(start="2022-01-03", end="2022-01-04", freq="H"), "value": np.random.rand(25)}
)
df_list = [df1, df2]

# Test raise value error if empty filepaths list is passed
Expand Down

0 comments on commit 08416eb

Please sign in to comment.