Skip to content

Commit

Permalink
meta: bump to 0.5.2 and fix pylint<3
Browse files Browse the repository at this point in the history
Apparently pylint dropped support for Py3.8, and added a bunch of new
rules. As a result, the current CI trips over.

This is an attempt at hotfixing that by using pylint<3 (so pylint 2.x)
until I decided how to approach the situation exactly.
  • Loading branch information
Exirel committed Oct 19, 2024
1 parent 4f139c9 commit 402da6a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 3 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ max-locals=15
# Maximum number of parents for a class (see R0901).
max-parents=7

# Maximum number of positional arguments for function / methods.
max-positional-arguments=10

# Maximum number of public methods for a class (see R0904).
max-public-methods=20

Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ coverages: coverage_report coverage_html
.PHONY: develop qa build

develop:
pip install -U -r requirements.txt
pip install -e .
python -m pip install -U pip
python -m pip install -U -r requirements.txt
python -m pip install -e .

qa: lint-check test coverages lint-style

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespaces = false

[project]
name = "sopel-help"
version = "0.5.1"
version = "0.5.2"
description = "Help plugin for Sopel"
keywords = ["sopel", "irc", "help", "doc", "plugin"]
maintainers = [
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# requirements for dev

flake8
pylint
pylint<3
coverage
pytest
requests-mock
Expand Down

0 comments on commit 402da6a

Please sign in to comment.