Skip to content

Commit 8845b97

Browse files
committed
fixups for package upgrades
1 parent 4be0e31 commit 8845b97

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

countess/plugins/fastq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pyarrow
88

99
from countess import VERSION
10-
from countess.core.parameters import BaseParam, BooleanParam, FloatParam, StringParam
10+
from countess.core.parameters import BaseParam, BooleanParam, FloatParam
1111
from countess.core.plugins import DuckdbLoadFileWithTheLotPlugin
1212

1313
logger = logging.getLogger(__name__)

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ disable = [
118118
"too-many-statements",
119119
"too-few-public-methods",
120120
"too-many-lines",
121+
"too-many-positional-arguments",
121122
"too-many-public-methods",
122123
"too-many-return-statements",
123124
"unidiomatic-typecheck",

tests/test_plugins.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@
55

66
empty_entry_points = importlib.metadata.EntryPoints()
77

8-
invalid_entry_points = importlib.metadata.EntryPoints((
9-
importlib.metadata.EntryPoint(name="test", value="mockplugin", group="countess_plugins"),
10-
))
8+
invalid_entry_points = importlib.metadata.EntryPoints(
9+
(importlib.metadata.EntryPoint(name="test", value="mockplugin", group="countess_plugins"),)
10+
)
11+
1112

1213
class NoParentPlugin:
1314
pass
1415

1516

16-
noparent_entry_points = importlib.metadata.EntryPoints((
17-
importlib.metadata.EntryPoint(name="test", value="NoParentPlugin", group="countess_plugins"),
18-
))
17+
noparent_entry_points = importlib.metadata.EntryPoints(
18+
(importlib.metadata.EntryPoint(name="test", value="NoParentPlugin", group="countess_plugins"),)
19+
)
1920

2021

2122
def test_get_plugin_classes_invalid(caplog):

0 commit comments

Comments
 (0)