pixi: add pylint
This commit is contained in:
17
.github/workflows/pylint.yml
vendored
17
.github/workflows/pylint.yml
vendored
@@ -6,17 +6,8 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: conda-incubator/setup-miniconda@v2
|
||||
- uses: prefix-dev/setup-pixi@v0.8.0
|
||||
with:
|
||||
auto-update-conda: true
|
||||
python-version: "3.11"
|
||||
use-only-tar-bz2: true
|
||||
miniforge-version: latest
|
||||
- name: install dependencies
|
||||
run: |
|
||||
mamba update --all
|
||||
mamba install freecad numpy scipy pylint
|
||||
- name: Analysing the code with pylint
|
||||
run: |
|
||||
${CONDA}/bin/pylint $(git ls-files '*.py')
|
||||
pixi-version: v0.39.0
|
||||
cache: false
|
||||
- run: pixi run lint
|
||||
Reference in New Issue
Block a user