Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
maltaesousa committed Jun 21, 2024
1 parent e1b0fa6 commit 467ac13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion comptages/core/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def get_speed_data(
right=False, # Don't include rightmost edge (e.g. bin 10-20 is actually 10-19.9999999...)
),
],
observed=False
observed=False,
).sum("times")

df = df.rename(columns={"speed": "speedNP"})
Expand Down
6 changes: 3 additions & 3 deletions comptages/test/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_yearly_bike_report(self):
path_to_output_dir=self.test_outputs,
year=2021,
section_id=sections_ids.first(),
classtxt="SPCH-MD 5C"
classtxt="SPCH-MD 5C",
)
report.run()

Expand Down Expand Up @@ -270,7 +270,7 @@ def test_busiest_by_season(self):
path_to_output_dir=self.test_outputs,
year=2021,
section_id=sections_ids.first(),
classtxt="SPCH-MD 5C"
classtxt="SPCH-MD 5C",
)
report.run()

Expand Down Expand Up @@ -355,7 +355,7 @@ def test_busiest_by_various_criteria(self):
path_to_output_dir=self.test_outputs,
year=2021,
section_id=sections_ids.first(),
classtxt="SPCH-MD 5C"
classtxt="SPCH-MD 5C",
)
report.run()

Expand Down

0 comments on commit 467ac13

Please sign in to comment.