ci: add dev requirements file and update workflow
Lint and Type Check / lint (push) Failing after 7m5s
test / unit (pull_request) Failing after 26s
test / integration (pull_request) Failing after 15s

Create requirements-dev.txt with pylint and pyright. The bot-bottle
project itself has no runtime dependencies. Update workflow to use
the requirements file for pip caching.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 23:07:59 -04:00
parent 4e185fab6b
commit 0ca81b102c
2 changed files with 9 additions and 2 deletions
+3 -2
View File
@@ -18,11 +18,12 @@ jobs:
with: with:
python-version: '3.12' python-version: '3.12'
cache: 'pip' cache: 'pip'
cache-dependency-path: requirements-dev.txt
- name: Install dependencies - name: Install dev dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pylint pyright pip install -r requirements-dev.txt
- name: Run pylint - name: Run pylint
run: | run: |
+6
View File
@@ -0,0 +1,6 @@
# Development and linting dependencies only.
# The bot-bottle project itself has no runtime dependencies.
# These tools are used for code quality checks in CI/CD.
pylint>=3.0.0
pyright>=1.1.300