Skip to content

Bump flask from 3.0.2 to 3.1.3 in /examples/authorization_by_code #50

Bump flask from 3.0.2 to 3.1.3 in /examples/authorization_by_code

Bump flask from 3.0.2 to 3.1.3 in /examples/authorization_by_code #50

Workflow file for this run

name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the package code with pylint
run: |
pylint --rcfile pylintrc pyimgur *.py --disable import-error
- name: Analysing the tests code with pylint
# The disabled rules are because they make less sense in test files.
# Test functions should not as a rule require docstrings. If they do,
# then they are badly written. The purpose of a test should be clear from
# function name and if need be a glance at the code.
run: |
pylint --rcfile pylintrc tests examples --disable import-error,missing-function-docstring,missing-module-docstring,protected-access,missing-class-docstring