Switch from pip to uv (#529)

* Replace pip by more modern uv

* uv tests

* update yaml

* update yaml

* update yaml

* update flake8

* update windows commands

* fix windows test

* windows fix

* windows fix

* windows fix

* windows fix

* windows fix

* windows fix

* windows fix

* windows fix

* windows fix

* windows fix
This commit is contained in:
Sebastian Raschka
2025-02-15 13:13:13 -06:00
committed by GitHub
parent 074a6efb33
commit 88fd849b88
10 changed files with 250 additions and 38 deletions

View File

@@ -16,6 +16,14 @@ jobs:
with:
python-version: '3.10'
- name: Install flake8
run: pip install flake8
run: |
python -m pip install --upgrade pip
pip install uv
uv venv --python=python3.10
source .venv/bin/activate
uv pip install flake8
- name: Run flake8 with exceptions
run: flake8 . --max-line-length=140 --ignore=W504,E402,E731,C406,E741,E722,E226
run: |
source .venv/bin/activate
flake8 . --max-line-length=140 --ignore=W504,E402,E731,C406,E741,E722,E226 --exclude .venv