Skip to content

Commit

Permalink
update conda env name (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasloveday authored Dec 8, 2023
1 parent ee69685 commit 7cbf187
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
pip install .[all]
- name: pre-commit checks
run: |
pre-commit run --all-files
pre-commit run black --all-files
pre-commit run isort --all-files
pre-commit run pylint --all-files
7 changes: 3 additions & 4 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ pytest
### `conda`-based virtual environment

```bash
# overwrite default name `scores` with `-n <new-name>` if desired
# overwrite default name `scoresenv` with `-n <new-name>` if desired
conda env create -f environment.yml
conda activate scores
# re-install as editable if desired
pip install -e .
conda activate scoresenv
pip install -e .[all]
pytest
```

Expand Down
4 changes: 2 additions & 2 deletions src/scores/continuous/standard_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
This module contains standard methods which may be used for continuous scoring
"""

import xarray as xr

import scores.functions
import scores.utils
from scores.typing import FlexibleArrayType, FlexibleDimensionTypes

import xarray as xr


def mse(
fcst: FlexibleArrayType,
Expand Down

0 comments on commit 7cbf187

Please sign in to comment.