Use uv for dependency management
This commit is contained in:
parent
e9e8fc351c
commit
d05e29b5e0
10 changed files with 99 additions and 78 deletions
|
|
@ -1,12 +1,16 @@
|
|||
python-linting:
|
||||
stage: lint
|
||||
image: python:3.9-bullseye
|
||||
image: python:3.11
|
||||
before_script:
|
||||
- pip install -r requirements/ci.txt
|
||||
- uv pip install --requirement requirements/ci.txt
|
||||
script:
|
||||
- isort src/ --check-only
|
||||
- black src/ --line-length 88 --check
|
||||
- autoflake src/ --check --recursive --remove-all-unused-imports --ignore-init-module-imports
|
||||
- isort --check-only src/
|
||||
- black --line-length 88 --check src/
|
||||
- autoflake --check \
|
||||
--recursive \
|
||||
--remove-all-unused-imports \
|
||||
--ignore-init-module-imports \
|
||||
src/
|
||||
only:
|
||||
refs:
|
||||
- development
|
||||
|
|
@ -14,7 +18,7 @@ python-linting:
|
|||
|
||||
javascript-linting:
|
||||
stage: lint
|
||||
image: node:16-bullseye
|
||||
image: node:latest
|
||||
before_script:
|
||||
- npm install
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue