Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pylint requirement from 3.1.1 to 3.2.0 #584

Merged
merged 6 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ isort = "5.13.2"
myst-parser = "3.0.1"
pep8 = "1.7.1"
ruff = "0.4.4"
pylint = "3.1.1"
pylint = "3.2.0"
pytest = "8.2.0"
pytest-cov = "5.0.0"
coverage = "7.5.1"
Expand Down
2 changes: 1 addition & 1 deletion toqito/channel_ops/tests/test_partial_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_partial_channel(test_input, expected, sys_arg, dim_arg):
elif sys_arg is not None and dim_arg is not None:
calculated = partial_channel(test_input, depolarizing(2), sys_arg, dim_arg)

assert np.isclose(calculated, expected).all()
assert np.isclose(calculated, expected).all() # pylint: disable=possibly-used-before-assignment
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made pylint ignore this line because it doesn't see the conditional assignment in the previous lines.



@pytest.mark.parametrize("nested", [1, 2, 3])
Expand Down
Loading