mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
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:
committed by
GitHub
parent
074a6efb33
commit
88fd849b88
12
.github/workflows/pep8-linter.yml
vendored
12
.github/workflows/pep8-linter.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user