Skip to content

Commit

Permalink
fix 'pixi run lint'
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Nov 23, 2024
1 parent 03d772a commit 9ae2c00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ The user should review the recipe generated, especially the license and dependen
Use one of:

- manually
- install `grayskull`: `conda install -c conda-forge grayskull`
- generate recipe:
1. install `grayskull`: `conda install -c conda-forge grayskull`
2. generate recipe:
- `cd recipes && grayskull pypi PACKAGE_NAME_ON_PYPI_HERE [PACKAGE_NAME_ON_PYPI_HERE...]`
- `cd recipes && grayskull cran PACKAGE_NAME_ON_CRAN_HERE [PACKAGE_NAME_ON_CRAN_HERE...]`
- with [`pixi`](#pixi):
- generate recipe `pixi run pypi PACKAGE_NAME_ON_PYPI_HERE [PACKAGE_NAME_ON_PYPI_HERE...]`
- generate recipe `pixi run cran PACKAGE_NAME_ON_CRAN_HERE [PACKAGE_NAME_ON_CRAN_HERE...]`
1. generate recipe:
- `pixi run pypi PACKAGE_NAME_ON_PYPI_HERE [PACKAGE_NAME_ON_PYPI_HERE...]`
- `pixi run cran PACKAGE_NAME_ON_CRAN_HERE [PACKAGE_NAME_ON_CRAN_HERE...]`

## Linting recipes with `conda-smithy`

Expand Down
4 changes: 1 addition & 3 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ cmd = "cd recipes && grayskull cran --strict-conda-forge"
conda-smithy = ">=3.44.6,<4"
[feature.conda-smithy.tasks.lint]
description = "validate all recipes with `conda-smithy`"
cmd = """python .github/workflows/scripts/linter.py
&& conda-smithy recipe-lint --conda-forge recipes/*
"""
cmd = "conda-smithy recipe-lint --conda-forge recipes/*"

[environments]
# linux only needs Python to run build-locally.py. Everything else happens in Docker.
Expand Down

0 comments on commit 9ae2c00

Please sign in to comment.