Skip to content

Commit

Permalink
V0.8.0 rc1 prep (#661)
Browse files Browse the repository at this point in the history
* bump pre-commit hook versions

* update dependency versions

* restore normal pytest marks to multi-ghe test

* set rc version in pyproject.toml

* linting with ruff via pre-commit
  • Loading branch information
vtnate authored Oct 9, 2024
1 parent b0c4020 commit bd71c96
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
pass_filenames: false
# https://docs.astral.sh/ruff/integrations/#pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.4
rev: v0.6.8
hooks:
# Run the linter
- id: ruff
Expand Down
8 changes: 4 additions & 4 deletions geojson_modelica_translator/modelica/modelica_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def _copy_over_docker_resources(
"""
# read in the start, stop, and step times
project_in_library = kwargs.get("project_in_library", False)
start_time = kwargs.get("start_time", None)
stop_time = kwargs.get("stop_time", None)
step_size = kwargs.get("step_size", None)
number_of_intervals = kwargs.get("number_of_intervals", None)
start_time = kwargs.get("start_time")
stop_time = kwargs.get("stop_time")
step_size = kwargs.get("step_size")
number_of_intervals = kwargs.get("number_of_intervals")

# initialize the templating framework (Jinja2)
template_env = Environment(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ def csv_to_sys_param(
:return None, file created and saved to user-specified location
"""
self.sys_param_filename = sys_param_filename
self.rel_path = kwargs.get("relative_path", None)
self.rel_path = kwargs.get("relative_path")
skip_weather_download = kwargs.get("skip_weather_download", False)
modelica_load_filename = kwargs.get("modelica_load_filename", "modelica.mos")

Expand Down
Loading

0 comments on commit bd71c96

Please sign in to comment.