Skip to content

Commit

Permalink
Dependencies: Update pylint==2.17.7
Browse files Browse the repository at this point in the history
Update is performed because old version had an invalid setup file and
was breaking on install. Since this is a support branch, the new rules
that come with the newer version of `plumpy` are ignored.
  • Loading branch information
sphuber committed Nov 12, 2023
1 parent 59cd6f4 commit 5fafe43
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
types: [python]

- repo: https://github.com/PyCQA/pylint
rev: pylint-2.5.2
rev: 'v2.17.7'
hooks:
- id: pylint
additional_dependencies:
Expand All @@ -41,7 +41,7 @@ repos:
"deprecation",
"aio-pika~=6.6,<6.8.2",
"pamqp~=2.0",
"pyyaml~=5.1",
"pyyaml~=6.0",
"pytest~=5.4",
"pytest-notebook",
"pika",
Expand All @@ -53,10 +53,16 @@ repos:
"--disable=duplicate-code",
"--disable=import-outside-toplevel",
"--disable=missing-docstring",
"--disable=bad-continuation",
"--disable=locally-disabled",
"--disable=too-few-public-methods",
"--disable=too-many-arguments",
"--disable=too-many-instance-attributes",
"--disable=unspecified-encoding",
"--disable=consider-using-with",
"--disable=no-else-raise",
"--disable=raise-missing-from",
"--disable=not-async-context-manager",
"--disable=superfluous-parens",
"--disable=use-list-literal",
]
exclude: *exclude_files
1 change: 1 addition & 0 deletions kiwipy/rmq/communicator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# pylint: disable=cyclic-import
import asyncio
from functools import partial
import copy
Expand Down
1 change: 1 addition & 0 deletions kiwipy/rmq/tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# pylint: disable=cyclic-import
import asyncio
import collections
import contextlib
Expand Down
2 changes: 1 addition & 1 deletion kiwipy/rmq/threadcomms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# pylint: disable=cyclic-import
import asyncio
from contextlib import contextmanager
import concurrent.futures
Expand Down Expand Up @@ -132,7 +133,6 @@ def __init__(
"replacement and the class should be reinstantiated if it's been closed."
)
def start(self):
# pylint: disable=no-self-use
raise DeprecationWarning(
'This method was deprecated in v0.6.0 and will be removed in 0.7.0. There is no '
"replacement and the class should be reinstantiated if it's been closed."
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'sphinx',
'sphinx-autobuild',
],
'pre-commit': ['pre-commit~=2.2', 'pylint==2.5.2'],
'pre-commit': ['pre-commit~=2.2'],
'rmq': ['aio-pika~=6.6,<6.8.2', 'pamqp~=2.0', 'pyyaml~=6.0'],
'tests': [
'coverage',
Expand Down

0 comments on commit 5fafe43

Please sign in to comment.