Skip to content

feat(telegram): add admin incident commands (#345) #250

feat(telegram): add admin incident commands (#345)

feat(telegram): add admin incident commands (#345) #250

Workflow file for this run

name: Pylint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [main]
paths:
- "**/*.py"
pull_request:
branches: [main]
paths:
- "**/*.py"
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install "pylint>=3.0,<4.0"
- name: Analysing the code with pylint
run: |
files=$(git ls-files '*.py')
if [ -n "$files" ]; then
pylint $files \
--disable=all \
--enable=C0114,C0115,C0116,C0301,C0103,W0611,W0612,W0613,W0621,C0411,C0413,W0102,R0913,R0914 \
--output-format=colorized \
--recursive || true
else
echo "No Python files found for linting."
fi