Files
bot-bottle/.gitea/workflows/lint.yml
T
didericis 24c302ae0f
lint / lint (push) Successful in 1m28s
test / unit (pull_request) Successful in 33s
test / integration (pull_request) Failing after 43s
style: normalize workflow formatting (quotes, name)
Standardized lint.yml formatting:
- Changed single quotes to double quotes for consistency
- Updated workflow name to lowercase 'lint'
- No functional changes

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-04 12:03:57 -04:00

35 lines
766 B
YAML

name: lint
on:
push:
paths:
- "**.py"
- ".pylintrc"
- ".gitea/workflows/lint.yml"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run pylint
run: |
# Run pylint on all Python files in the repo
find . -name '*.py' -not -path './.venv/*' -not -path './.git/*' | xargs pylint --fail-under=8.0 || true
- name: Run pyright
run: |
# Run pyright type checking
pyright .