diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09236c3..ebadef3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,14 +22,14 @@ repos: - id: fix-byte-order-marker - id: mixed-line-ending - repo: https://github.com/asottile/reorder_python_imports - rev: v3.15.0 + rev: v3.16.0 hooks: - id: reorder-python-imports - repo: https://github.com/psf/black - rev: 25.9.0 + rev: 26.5.1 hooks: - id: black - language_version: python3.10 + language_version: python3.12 args: ['-l', '88'] # Run flake8 last, to catch any remaining issues not caught/fixed by # the other hooks. @@ -39,7 +39,7 @@ repos: - id: flake8 exclude: ^manage.py$ - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.5 + rev: v1.5.6 hooks: - id: insert-license files: \.py$ diff --git a/aidentified_matching_api/__init__.py b/aidentified_matching_api/__init__.py index b84dd9f..d6fe28d 100644 --- a/aidentified_matching_api/__init__.py +++ b/aidentified_matching_api/__init__.py @@ -26,7 +26,6 @@ import aidentified_matching_api.dataset_file as dataset_file import aidentified_matching_api.token_service as token_service - parser = argparse.ArgumentParser( description="Aidentified matching API command line wrapper" ) diff --git a/aidentified_matching_api/token_service.py b/aidentified_matching_api/token_service.py index e1f0e31..60c7ac8 100644 --- a/aidentified_matching_api/token_service.py +++ b/aidentified_matching_api/token_service.py @@ -24,7 +24,6 @@ import aidentified_matching_api.constants as constants - logger = logging.getLogger("api") diff --git a/requirements-dev.txt b/requirements-dev.txt index a1068f4..079bb9b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,79 +2,63 @@ # uv pip compile --output-file requirements-dev.txt requirements-dev.in appdirs==1.4.4 # via -r requirements.in -backports-tarfile==1.2.0 - # via jaraco-context -build==1.4.2 +build==1.5.0 # via -r requirements-dev.in -certifi==2026.2.25 +certifi==2026.5.20 # via requests -cffi==2.0.0 - # via cryptography cfgv==3.5.0 # via pre-commit -charset-normalizer==3.4.6 +charset-normalizer==3.4.7 # via requests -cryptography==46.0.7 - # via secretstorage distlib==0.4.0 # via virtualenv -docutils==0.22.4 +docutils==0.23 # via readme-renderer -exceptiongroup==1.3.1 - # via pytest -filelock==3.25.2 +filelock==3.29.0 # via # python-discovery # virtualenv id==1.6.1 # via twine -identify==2.6.18 +identify==2.6.19 # via pre-commit -idna==3.11 +idna==3.17 # via requests -importlib-metadata==9.0.0 - # via keyring iniconfig==2.3.0 # via pytest jaraco-classes==3.4.0 # via keyring jaraco-context==6.1.2 # via keyring -jaraco-functools==4.4.0 +jaraco-functools==4.5.0 # via keyring -jeepney==0.9.0 - # via - # keyring - # secretstorage keyring==25.7.0 # via twine -markdown-it-py==4.0.0 +markdown-it-py==4.2.0 # via rich mdurl==0.1.2 # via markdown-it-py -more-itertools==10.8.0 +more-itertools==11.1.0 # via # jaraco-classes # jaraco-functools -nh3==0.3.4 +nh3==0.3.5 # via readme-renderer nodeenv==1.10.0 # via pre-commit -packaging==26.0 +packaging==26.2 # via # build # pytest # twine -platformdirs==4.9.4 +platformdirs==4.10.0 # via # python-discovery # virtualenv pluggy==1.6.0 # via pytest -pre-commit==4.5.1 +pre-commit==4.6.0 # via -r requirements-dev.in -pycparser==3.0 - # via cffi pygments==2.20.0 # via # pytest @@ -84,13 +68,13 @@ pyproject-hooks==1.2.0 # via build pytest==8.4.2 # via -r requirements-dev.in -python-discovery==1.2.0 +python-discovery==1.4.0 # via virtualenv pyyaml==6.0.3 # via pre-commit readme-renderer==44.0 # via twine -requests==2.33.0 +requests==2.34.2 # via # -r requirements.in # requests-toolbelt @@ -99,29 +83,16 @@ requests-toolbelt==1.0.0 # via twine rfc3986==2.0.0 # via twine -rich==14.3.3 +rich==15.0.0 # via twine -secretstorage==3.5.0 - # via keyring -tomli==2.4.1 - # via - # build - # pytest twine==6.2.0 # via -r requirements-dev.in -typing-extensions==4.15.0 - # via - # cryptography - # exceptiongroup - # virtualenv urllib3==2.7.0 # via # id # requests # twine -uv==0.11.6 +uv==0.11.17 # via -r requirements-dev.in -virtualenv==21.2.0 +virtualenv==21.4.2 # via pre-commit -zipp==3.23.0 - # via importlib-metadata diff --git a/requirements.txt b/requirements.txt index 071ee3c..107bc3b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,13 +2,13 @@ # uv pip compile --output-file requirements.txt requirements.in appdirs==1.4.4 # via -r requirements.in -certifi==2026.2.25 +certifi==2026.5.20 # via requests -charset-normalizer==3.4.6 +charset-normalizer==3.4.7 # via requests -idna==3.11 +idna==3.17 # via requests -requests==2.33.0 +requests==2.34.2 # via -r requirements.in urllib3==2.7.0 # via requests diff --git a/tests/test_validation.py b/tests/test_validation.py index 50f9432..43097f6 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -24,7 +24,6 @@ from aidentified_matching_api.validation import OpportunisticCsvValidator from aidentified_matching_api.validation import ValidationError - UTF_8 = codecs.lookup("UTF-8") ORDINARY_CSV_ARGS = [