Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 2 additions & 0 deletions opaque_keys/edx/tests/test_aside_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def test_encode_v1_roundtrip(self, text):
decoded = _decode_v1(encoded)
self.assertEqual(text, decoded)

# pylint: disable=unreachable
@given(left=ENCODING_TEXT, right=ENCODING_TEXT)
@settings(suppress_health_check=[HealthCheck.too_slow])
def test_join_v1_roundtrip(self, left, right):
Expand All @@ -50,6 +51,7 @@ def test_join_v1_roundtrip(self, left, right):
(_left, _right) = _split_keys_v1(joined)
self.assertEqual((left, right), (_left, _right))

# pylint: disable=unreachable
@given(left=ENCODING_TEXT, right=ENCODING_TEXT)
@settings(suppress_health_check=[HealthCheck.too_slow, HealthCheck.filter_too_much])
def test_join_v1_error(self, left, right):
Expand Down
4 changes: 2 additions & 2 deletions opaque_keys/edx/tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def perturbed_strings(string_strategy):
def test_perturbed_serializations(key_type, serialized, perturbed):
assume(serialized != perturbed)

original_key = key_type.from_string(serialized)
original_key = key_type.from_string(serialized) # pylint: disable=unreachable

try:
perturbed_key = key_type.from_string(perturbed)
Expand All @@ -198,6 +198,6 @@ def test_perturbed_serializations(key_type, serialized, perturbed):
def test_unique_deserialization(key_type, serialized, perturbed):
assume(serialized != perturbed)

original_key = key_type.from_string(serialized)
original_key = key_type.from_string(serialized) # pylint: disable=unreachable
perturbed_key = key_type.from_string(perturbed)
assert original_key != perturbed_key
1 change: 1 addition & 0 deletions opaque_keys/tests/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def fields_for_key(cls, field): # pylint: disable=unused-argument
return strategies.text(min_size=1)


# pylint: disable=unreachable
@strategies.composite
def _aside_v1_exclusions(draw, strategy):
"""
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
dnspython==2.8.0
# via pymongo
pymongo==4.15.4
pymongo==4.15.5
# via -r requirements/base.in
stevedore==5.6.0
# via -r requirements/base.in
Expand Down
6 changes: 3 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#
# make upgrade
#
cachetools==6.2.2
cachetools==6.2.3
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
coverage==7.12.0
coverage==7.13.0
# via -r requirements/ci.in
distlib==0.4.0
# via virtualenv
Expand All @@ -22,7 +22,7 @@ packaging==25.0
# via
# pyproject-api
# tox
platformdirs==4.5.0
platformdirs==4.5.1
# via
# tox
# virtualenv
Expand Down
18 changes: 9 additions & 9 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build==1.3.0
# via
# -r requirements/pip-tools.txt
# pip-tools
cachetools==6.2.2
cachetools==6.2.3
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -66,7 +66,7 @@ colorama==0.4.6
# via
# -r requirements/ci.txt
# tox
coverage[toml]==7.12.0
coverage[toml]==7.13.0
# via
# -r requirements/ci.txt
# -r requirements/doc.txt
Expand Down Expand Up @@ -102,7 +102,7 @@ filelock==3.20.0
# -r requirements/ci.txt
# tox
# virtualenv
hypothesis==6.148.3
hypothesis==6.148.7
# via -r requirements/doc.txt
idna==3.11
# via
Expand All @@ -125,7 +125,7 @@ jinja2==3.1.6
# -r requirements/doc.txt
# code-annotations
# sphinx
librt==0.6.3
librt==0.7.3
# via
# -r requirements/doc.txt
# mypy
Expand Down Expand Up @@ -166,7 +166,7 @@ pathspec==0.12.1
# mypy
pip-tools==7.5.2
# via -r requirements/pip-tools.txt
platformdirs==4.5.0
platformdirs==4.5.1
# via
# -r requirements/ci.txt
# -r requirements/doc.txt
Expand Down Expand Up @@ -214,7 +214,7 @@ pylint-plugin-utils==0.9.0
# -r requirements/doc.txt
# pylint-celery
# pylint-django
pymongo==4.15.4
pymongo==4.15.5
# via -r requirements/doc.txt
pyproject-api==1.10.0
# via
Expand All @@ -225,7 +225,7 @@ pyproject-hooks==1.2.0
# -r requirements/pip-tools.txt
# build
# pip-tools
pytest==9.0.1
pytest==9.0.2
# via
# -r requirements/doc.txt
# pytest-cov
Expand Down Expand Up @@ -268,7 +268,7 @@ soupsieve==2.8
# via
# -r requirements/doc.txt
# beautifulsoup4
sphinx==9.0.0
sphinx==9.0.4
# via
# -r requirements/doc.txt
# pydata-sphinx-theme
Expand Down Expand Up @@ -319,7 +319,7 @@ typing-extensions==4.15.0
# beautifulsoup4
# mypy
# pydata-sphinx-theme
urllib3==2.5.0
urllib3==2.6.2
# via
# -r requirements/doc.txt
# requests
Expand Down
12 changes: 6 additions & 6 deletions requirements/django-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ code-annotations==2.3.0
# via
# -r requirements/test.txt
# edx-lint
coverage[toml]==7.12.0
coverage[toml]==7.13.0
# via
# -r requirements/test.txt
# pytest-cov
Expand All @@ -43,7 +43,7 @@ execnet==2.1.2
# via
# -r requirements/test.txt
# pytest-xdist
hypothesis==6.148.3
hypothesis==6.148.7
# via -r requirements/test.txt
iniconfig==2.3.0
# via
Expand All @@ -57,7 +57,7 @@ jinja2==3.1.6
# via
# -r requirements/test.txt
# code-annotations
librt==0.6.3
librt==0.7.3
# via
# -r requirements/test.txt
# mypy
Expand Down Expand Up @@ -85,7 +85,7 @@ pathspec==0.12.1
# via
# -r requirements/test.txt
# mypy
platformdirs==4.5.0
platformdirs==4.5.1
# via
# -r requirements/test.txt
# pylint
Expand Down Expand Up @@ -120,9 +120,9 @@ pylint-plugin-utils==0.9.0
# -r requirements/test.txt
# pylint-celery
# pylint-django
pymongo==4.15.4
pymongo==4.15.5
# via -r requirements/test.txt
pytest==9.0.1
pytest==9.0.2
# via
# -r requirements/test.txt
# pytest-cov
Expand Down
16 changes: 8 additions & 8 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ code-annotations==2.3.0
# via
# -r requirements/test.txt
# edx-lint
coverage[toml]==7.12.0
coverage[toml]==7.13.0
# via
# -r requirements/test.txt
# pytest-cov
Expand All @@ -62,7 +62,7 @@ execnet==2.1.2
# via
# -r requirements/test.txt
# pytest-xdist
hypothesis==6.148.3
hypothesis==6.148.7
# via -r requirements/test.txt
idna==3.11
# via requests
Expand All @@ -81,7 +81,7 @@ jinja2==3.1.6
# -r requirements/test.txt
# code-annotations
# sphinx
librt==0.6.3
librt==0.7.3
# via
# -r requirements/test.txt
# mypy
Expand Down Expand Up @@ -113,7 +113,7 @@ pathspec==0.12.1
# via
# -r requirements/test.txt
# mypy
platformdirs==4.5.0
platformdirs==4.5.1
# via
# -r requirements/test.txt
# pylint
Expand Down Expand Up @@ -154,9 +154,9 @@ pylint-plugin-utils==0.9.0
# -r requirements/test.txt
# pylint-celery
# pylint-django
pymongo==4.15.4
pymongo==4.15.5
# via -r requirements/test.txt
pytest==9.0.1
pytest==9.0.2
# via
# -r requirements/test.txt
# pytest-cov
Expand Down Expand Up @@ -191,7 +191,7 @@ sortedcontainers==2.4.0
# hypothesis
soupsieve==2.8
# via beautifulsoup4
sphinx==9.0.0
sphinx==9.0.4
# via
# -r requirements/doc.in
# pydata-sphinx-theme
Expand Down Expand Up @@ -228,5 +228,5 @@ typing-extensions==4.15.0
# beautifulsoup4
# mypy
# pydata-sphinx-theme
urllib3==2.5.0
urllib3==2.6.2
# via requests
6 changes: 2 additions & 4 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ wheel==0.45.1
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==25.2
# via
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/pip.in
pip==25.3
# via -r requirements/pip.in
setuptools==80.9.0
# via -r requirements/pip.in
12 changes: 6 additions & 6 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ click-log==0.4.0
# via edx-lint
code-annotations==2.3.0
# via edx-lint
coverage[toml]==7.12.0
coverage[toml]==7.13.0
# via
# -r requirements/test.in
# pytest-cov
Expand All @@ -33,15 +33,15 @@ edx-lint==5.6.0
# via -r requirements/test.in
execnet==2.1.2
# via pytest-xdist
hypothesis==6.148.3
hypothesis==6.148.7
# via -r requirements/test.in
iniconfig==2.3.0
# via pytest
isort==6.1.0
# via pylint
jinja2==3.1.6
# via code-annotations
librt==0.6.3
librt==0.7.3
# via mypy
markupsafe==3.0.3
# via jinja2
Expand All @@ -57,7 +57,7 @@ packaging==25.0
# via pytest
pathspec==0.12.1
# via mypy
platformdirs==4.5.0
platformdirs==4.5.1
# via pylint
pluggy==1.6.0
# via
Expand All @@ -81,9 +81,9 @@ pylint-plugin-utils==0.9.0
# via
# pylint-celery
# pylint-django
pymongo==4.15.4
pymongo==4.15.5
# via -r requirements/base.txt
pytest==9.0.1
pytest==9.0.2
# via
# -r requirements/test.in
# pytest-cov
Expand Down