From 0ca81b102c298d8df080268c5cba9d2f99757c19 Mon Sep 17 00:00:00 2001 From: didericis Date: Wed, 3 Jun 2026 23:07:59 -0400 Subject: [PATCH] ci: add dev requirements file and update workflow 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 --- .gitea/workflows/lint.yml | 5 +++-- requirements-dev.txt | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 requirements-dev.txt diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 15add81..482eb26 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -18,11 +18,12 @@ jobs: with: python-version: '3.12' cache: 'pip' + cache-dependency-path: requirements-dev.txt - - name: Install dependencies + - name: Install dev dependencies run: | python -m pip install --upgrade pip - pip install pylint pyright + pip install -r requirements-dev.txt - name: Run pylint run: | diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..09d3b2a --- /dev/null +++ b/requirements-dev.txt @@ -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