Skip to content

Commit

Permalink
Merge branch 'main' into numerics
Browse files Browse the repository at this point in the history
  • Loading branch information
visr authored Oct 5, 2023
2 parents ea1fa6e + 544337b commit a9d2172
Show file tree
Hide file tree
Showing 14 changed files with 3,570 additions and 3,455 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/core_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
pixi-version: "v0.3.0"
cache: true
- name: Prepare pixi
run: pixi run post-install-without-pre-commit
run: pixi run install-without-pre-commit
- name: Prepare model input
run: |
pixi run generate-testmodels
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
pixi-version: "v0.3.0"
cache: true
- name: Prepare pixi
run: pixi run post-install-without-pre-commit
run: pixi run install-without-pre-commit

- name: Check Quarto installation and all engines
run: pixi run quarto-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pixi-version: "latest"
cache: true
- name: Prepare pixi
run: pixi run post-install-without-pre-commit
run: pixi run install-without-pre-commit
- name: Run mypy on python/ribasim
run: |
pixi run mypy-ribasim-python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
pixi-version: "v0.3.0"
cache: true
- name: Prepare pixi
run: pixi run post-install-without-pre-commit
run: pixi run install-without-pre-commit

- name: Run tests
run: pixi run test-ribasim-python-cov
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ repos:
exclude: '.teamcity'
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.286
rev: v0.0.291
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- id: black-jupyter
Expand All @@ -28,6 +28,6 @@ repos:
hooks:
- id: nbstripout
- repo: https://github.com/crate-ci/typos
rev: v1.16.8
rev: v1.16.15
hooks:
- id: typos
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
<build-runners>
<runner id="RUNNER_1501" name="Set up pixi" type="simpleRunner">
<parameters>
<param name="script.content"><![CDATA[pixi install
pixi run post-install]]></param>
<param name="script.content"><![CDATA[pixi run install]]></param>
<param name="teamcity.build.workingDir" value="ribasim" />
<param name="teamcity.step.mode" value="default" />
<param name="use.custom.script" value="true" />
Expand Down Expand Up @@ -84,4 +83,3 @@ pip install --no-deps "python/ribasim_testmodels"]]></param>
<cleanup />
</settings>
</build-type>

Loading

0 comments on commit a9d2172

Please sign in to comment.