From dbdce830676f5723c291f27b1ac0f17c019d68d2 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 25 Nov 2026 10:24:07 +0100 Subject: [PATCH] Upgrade black --- ...806_23_f11cd76d2f45_create_the_database.py | 24 +- ...20210102_18_888e352d7526_add_pixel_grid.py | 25 +- ..._19_e40623e10405_add_demand_forecasting.py | 3 +- ...9_add_confidence_intervals_to_forecasts.py | 26 +- ...914_13_81aa304d7a6e_add_simulation_data.py | 12 +- noxfile.py | 17 +- poetry.lock | 890 ++++++------------ pyproject.toml | 4 +- src/velofy/__init__.py | 1 + src/velofy/console/forecasts.py | 13 +- src/velofy/db/addresses.py | 20 +- src/velofy/db/addresses_addresses.py | 20 +- src/velofy/db/cities.py | 11 +- src/velofy/db/couriers.py | 12 +- src/velofy/db/customers.py | 14 +- src/velofy/db/forecasts.py | 17 +- src/velofy/db/grids.py | 14 +- src/velofy/db/orders.py | 22 +- src/velofy/db/pixels.py | 25 +- src/velofy/db/replay/orders.py | 11 +- src/velofy/db/replay/simulations.py | 6 +- src/velofy/db/restaurants.py | 19 +- src/velofy/db/utils/colors.py | 7 +- src/velofy/forecasts/methods/arima.py | 3 +- src/velofy/forecasts/methods/decomposition.py | 14 +- src/velofy/forecasts/methods/ets.py | 3 +- .../forecasts/methods/extrapolate_season.py | 5 +- src/velofy/forecasts/models/base.py | 12 +- .../forecasts/models/tactical/horizontal.py | 18 +- src/velofy/forecasts/models/tactical/other.py | 9 +- .../forecasts/models/tactical/realtime.py | 9 +- .../forecasts/models/tactical/vertical.py | 5 +- src/velofy/forecasts/timify.py | 38 +- tests/console/test_gridify.py | 8 +- tests/db/fake_data/factories/couriers.py | 1 - tests/db/fake_data/factories/orders/ad_hoc.py | 3 +- tests/db/fake_data/fixture_makers.py | 5 +- tests/db/replay/test_orders.py | 108 ++- tests/db/test_addresses.py | 12 +- tests/db/test_addresses_addresses.py | 45 +- tests/db/test_forecasts.py | 98 +- tests/db/test_grids.py | 11 +- tests/db/test_orders.py | 143 ++- tests/db/test_pixels.py | 3 +- tests/db/test_restaurants.py | 9 +- tests/db/utils/test_locations.py | 8 +- tests/forecasts/conftest.py | 8 +- tests/forecasts/methods/test_decomposition.py | 25 +- tests/forecasts/methods/test_predictions.py | 45 +- tests/forecasts/test_models.py | 33 +- .../forecasts/timify/test_aggregate_orders.py | 72 +- .../forecasts/timify/test_avg_daily_demand.py | 35 +- .../forecasts/timify/test_make_time_series.py | 111 ++- tests/forecasts/timify/test_order_history.py | 6 +- 54 files changed, 1206 insertions(+), 912 deletions(-) diff --git a/migrations/versions/rev_20200806_23_f11cd76d2f45_create_the_database.py b/migrations/versions/rev_20200806_23_f11cd76d2f45_create_the_database.py index 2d73227..9d77f3e 100644 --- a/migrations/versions/rev_20200806_23_f11cd76d2f45_create_the_database.py +++ b/migrations/versions/rev_20200806_23_f11cd76d2f45_create_the_database.py @@ -78,7 +78,8 @@ def upgrade(): name=op.f('ck_couriers_on_realistic_pay_per_order'), ), sa.CheckConstraint( - '0 <= speed AND speed <= 30', name=op.f('ck_couriers_on_realistic_speed'), + '0 <= speed AND speed <= 30', + name=op.f('ck_couriers_on_realistic_speed'), ), sa.PrimaryKeyConstraint('id', name=op.f('pk_couriers')), *( @@ -124,7 +125,8 @@ def upgrade(): name=op.f('ck_addresses_on_latitude_between_90_degrees'), ), sa.CheckConstraint( - '0 <= floor AND floor <= 40', name=op.f('ck_addresses_on_realistic_floor'), + '0 <= floor AND floor <= 40', + name=op.f('ck_addresses_on_realistic_floor'), ), sa.CheckConstraint( '30000 <= zip_code AND zip_code <= 99999', @@ -378,7 +380,8 @@ def upgrade(): name=op.f('ck_orders_on_ordered_timestamps_19'), ), sa.CheckConstraint( - 'cancelled_at > pickup_at', name=op.f('ck_orders_on_ordered_timestamps_18'), + 'cancelled_at > pickup_at', + name=op.f('ck_orders_on_ordered_timestamps_18'), ), sa.CheckConstraint( 'cancelled_at > reached_delivery_at', @@ -457,7 +460,8 @@ def upgrade(): name=op.f('ck_orders_on_ordered_timestamps_29'), ), sa.CheckConstraint( - 'dispatch_at < pickup_at', name=op.f('ck_orders_on_ordered_timestamps_28'), + 'dispatch_at < pickup_at', + name=op.f('ck_orders_on_ordered_timestamps_28'), ), sa.CheckConstraint( 'dispatch_at < reached_delivery_at', @@ -484,7 +488,8 @@ def upgrade(): name=op.f('ck_orders_on_ordered_timestamps_50'), ), sa.CheckConstraint( - 'pickup_at < delivery_at', name=op.f('ck_orders_on_ordered_timestamps_49'), + 'pickup_at < delivery_at', + name=op.f('ck_orders_on_ordered_timestamps_49'), ), sa.CheckConstraint( 'pickup_at < left_pickup_at', @@ -495,7 +500,8 @@ def upgrade(): name=op.f('ck_orders_on_ordered_timestamps_48'), ), sa.CheckConstraint( - 'placed_at < cancelled_at', name=op.f('ck_orders_on_ordered_timestamps_2'), + 'placed_at < cancelled_at', + name=op.f('ck_orders_on_ordered_timestamps_2'), ), sa.CheckConstraint( 'placed_at < courier_accepted_at', @@ -506,10 +512,12 @@ def upgrade(): name=op.f('ck_orders_on_ordered_timestamps_6'), ), sa.CheckConstraint( - 'placed_at < delivery_at', name=op.f('ck_orders_on_ordered_timestamps_11'), + 'placed_at < delivery_at', + name=op.f('ck_orders_on_ordered_timestamps_11'), ), sa.CheckConstraint( - 'placed_at < dispatch_at', name=op.f('ck_orders_on_ordered_timestamps_5'), + 'placed_at < dispatch_at', + name=op.f('ck_orders_on_ordered_timestamps_5'), ), sa.CheckConstraint( 'placed_at < first_estimated_delivery_at', diff --git a/migrations/versions/rev_20210102_18_888e352d7526_add_pixel_grid.py b/migrations/versions/rev_20210102_18_888e352d7526_add_pixel_grid.py index eb9ba4b..ac6df40 100644 --- a/migrations/versions/rev_20210102_18_888e352d7526_add_pixel_grid.py +++ b/migrations/versions/rev_20210102_18_888e352d7526_add_pixel_grid.py @@ -37,7 +37,9 @@ def upgrade(): ondelete='RESTRICT', ), sa.UniqueConstraint( - 'city_id', 'side_length', name=op.f('uq_grids_on_city_id_side_length'), + 'city_id', + 'side_length', + name=op.f('uq_grids_on_city_id_side_length'), ), # This `UniqueConstraint` is needed by the `addresses_pixels` table below. sa.UniqueConstraint('id', 'city_id', name=op.f('uq_grids_on_id_city_id')), @@ -61,7 +63,10 @@ def upgrade(): ), sa.PrimaryKeyConstraint('id', name=op.f('pk_pixels')), sa.UniqueConstraint( - 'grid_id', 'n_x', 'n_y', name=op.f('uq_pixels_on_grid_id_n_x_n_y'), + 'grid_id', + 'n_x', + 'n_y', + name=op.f('uq_pixels_on_grid_id_n_x_n_y'), ), sa.UniqueConstraint('id', 'grid_id', name=op.f('uq_pixels_on_id_grid_id')), schema=config.CLEAN_SCHEMA, @@ -134,7 +139,9 @@ def upgrade(): ondelete='RESTRICT', ), sa.PrimaryKeyConstraint( - 'address_id', 'pixel_id', name=op.f('pk_addresses_pixels'), + 'address_id', + 'pixel_id', + name=op.f('pk_addresses_pixels'), ), sa.UniqueConstraint( 'address_id', @@ -155,13 +162,19 @@ def downgrade(): schema=config.CLEAN_SCHEMA, ) op.drop_index( - op.f('ix_pixels_on_n_y'), table_name='pixels', schema=config.CLEAN_SCHEMA, + op.f('ix_pixels_on_n_y'), + table_name='pixels', + schema=config.CLEAN_SCHEMA, ) op.drop_index( - op.f('ix_pixels_on_n_x'), table_name='pixels', schema=config.CLEAN_SCHEMA, + op.f('ix_pixels_on_n_x'), + table_name='pixels', + schema=config.CLEAN_SCHEMA, ) op.drop_index( - op.f('ix_pixels_on_grid_id'), table_name='pixels', schema=config.CLEAN_SCHEMA, + op.f('ix_pixels_on_grid_id'), + table_name='pixels', + schema=config.CLEAN_SCHEMA, ) op.drop_table('pixels', schema=config.CLEAN_SCHEMA) op.drop_table('grids', schema=config.CLEAN_SCHEMA) diff --git a/migrations/versions/rev_20210106_19_e40623e10405_add_demand_forecasting.py b/migrations/versions/rev_20210106_19_e40623e10405_add_demand_forecasting.py index 0e7f4de..980f370 100644 --- a/migrations/versions/rev_20210106_19_e40623e10405_add_demand_forecasting.py +++ b/migrations/versions/rev_20210106_19_e40623e10405_add_demand_forecasting.py @@ -64,7 +64,8 @@ def upgrade(): name=op.f('ck_forecasts_on_start_at_allows_no_seconds'), ), sa.CheckConstraint( - 'time_step > 0', name=op.f('ck_forecasts_on_time_step_must_be_positive'), + 'time_step > 0', + name=op.f('ck_forecasts_on_time_step_must_be_positive'), ), sa.CheckConstraint( 'training_horizon > 0', diff --git a/migrations/versions/rev_20210120_16_26711cd3f9b9_add_confidence_intervals_to_forecasts.py b/migrations/versions/rev_20210120_16_26711cd3f9b9_add_confidence_intervals_to_forecasts.py index 51668dc..aff868d 100644 --- a/migrations/versions/rev_20210120_16_26711cd3f9b9_add_confidence_intervals_to_forecasts.py +++ b/migrations/versions/rev_20210120_16_26711cd3f9b9_add_confidence_intervals_to_forecasts.py @@ -25,7 +25,10 @@ config = configuration.make_config('testing' if os.getenv('TESTING') else 'produ def upgrade(): """Upgrade to revision 26711cd3f9b9.""" op.alter_column( - 'forecasts', 'method', new_column_name='model', schema=config.CLEAN_SCHEMA, + 'forecasts', + 'method', + new_column_name='model', + schema=config.CLEAN_SCHEMA, ) op.add_column( 'forecasts', @@ -108,17 +111,28 @@ def upgrade(): def downgrade(): """Downgrade to revision e40623e10405.""" op.alter_column( - 'forecasts', 'model', new_column_name='method', schema=config.CLEAN_SCHEMA, + 'forecasts', + 'model', + new_column_name='method', + schema=config.CLEAN_SCHEMA, ) op.drop_column( - 'forecasts', 'low80', schema=config.CLEAN_SCHEMA, + 'forecasts', + 'low80', + schema=config.CLEAN_SCHEMA, ) op.drop_column( - 'forecasts', 'high80', schema=config.CLEAN_SCHEMA, + 'forecasts', + 'high80', + schema=config.CLEAN_SCHEMA, ) op.drop_column( - 'forecasts', 'low95', schema=config.CLEAN_SCHEMA, + 'forecasts', + 'low95', + schema=config.CLEAN_SCHEMA, ) op.drop_column( - 'forecasts', 'high95', schema=config.CLEAN_SCHEMA, + 'forecasts', + 'high95', + schema=config.CLEAN_SCHEMA, ) diff --git a/migrations/versions/rev_20210914_13_81aa304d7a6e_add_simulation_data.py b/migrations/versions/rev_20210914_13_81aa304d7a6e_add_simulation_data.py index cf121e1..a59472f 100644 --- a/migrations/versions/rev_20210914_13_81aa304d7a6e_add_simulation_data.py +++ b/migrations/versions/rev_20210914_13_81aa304d7a6e_add_simulation_data.py @@ -113,7 +113,9 @@ def upgrade(): sa.Column('reached_delivery_at', sa.DateTime), sa.Column('delivery_at', sa.DateTime), sa.PrimaryKeyConstraint( - 'simulation_id', 'actual_order_id', name=op.f('pk_replayed_orders'), + 'simulation_id', + 'actual_order_id', + name=op.f('pk_replayed_orders'), ), sa.ForeignKeyConstraint( ['simulation_id'], @@ -296,7 +298,8 @@ def upgrade(): ), *( sa.CheckConstraint( - constraint, name='ordered_timestamps_{index}'.format(index=index), + constraint, + name='ordered_timestamps_{index}'.format(index=index), ) for index, constraint in enumerate( ( @@ -390,7 +393,10 @@ def downgrade(): op.drop_table('replayed_orders', schema=config.CLEAN_SCHEMA) op.drop_table('replay_simulations', schema=config.CLEAN_SCHEMA) op.drop_constraint( - 'uq_orders_on_id_ad_hoc', 'orders', type_=None, schema=config.CLEAN_SCHEMA, + 'uq_orders_on_id_ad_hoc', + 'orders', + type_=None, + schema=config.CLEAN_SCHEMA, ) op.execute( f""" diff --git a/noxfile.py b/noxfile.py index df675ee..7bc6d40 100644 --- a/noxfile.py +++ b/noxfile.py @@ -205,7 +205,10 @@ def test(session): # test cases that require the slow installation of R and some packages. if session.env.get('_slow_ci_tests'): session.run( - 'pytest', '-m', 'r and not db', PYTEST_LOCATION, + 'pytest', + '-m', + 'r and not db', + PYTEST_LOCATION, ) # In the "ci-tests-slow" session, we do not run any test tool @@ -273,7 +276,10 @@ def safety(session): external=True, ) session.run( - 'safety', 'check', f'--file={requirements_txt.name}', '--full-report', + 'safety', + 'check', + f'--file={requirements_txt.name}', + '--full-report', ) @@ -434,7 +440,8 @@ def fix_branch_references(session): # noqa:WPS210 # the staged files passed in by pre-commit in most cases. if session.posargs and len(session.posargs) == 1: match = re.match( - pattern=r'^--branch=([\w\.-]+)$', string=session.posargs[0].strip(), + pattern=r'^--branch=([\w\.-]+)$', + string=session.posargs[0].strip(), ) if match: branch = match.groups()[0] @@ -582,7 +589,9 @@ def _install_packages(session: Session, *packages_or_pip_args: str, **kwargs) -> external=True, ) session.install( - f'--constraint={requirements_txt.name}', *packages_or_pip_args, **kwargs, + f'--constraint={requirements_txt.name}', + *packages_or_pip_args, + **kwargs, ) diff --git a/poetry.lock b/poetry.lock index e9ee894..9e943de 100644 --- a/poetry.lock +++ b/poetry.lock @@ -159,18 +159,6 @@ typing_extensions = {version = ">=4.16.0", markers = "python_version < \"3.15\"" [package.extras] trio = ["trio (>=0.32.0)"] -[[package]] -name = "appdirs" -version = "1.4.4" -description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -optional = false -python-versions = "*" -groups = ["dev"] -files = [ - {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, - {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, -] - [[package]] name = "appnope" version = "0.1.4" @@ -195,7 +183,7 @@ files = [ {file = "appnope-1.0.0-py3-none-any.whl", hash = "sha256:6fe0c04218aab65c54c4ff81638cdbf848d89f5653b74d68638a137f200dd16e"}, {file = "appnope-1.0.0.tar.gz", hash = "sha256:685db59cb6043c3c2e528adc0b3bce3a5f8d09bcf7492c6ea650d1b7421f3c49"}, ] -markers = {main = "platform_system == \"Darwin\" and extra == \"research\" and python_version >= \"3.9\"", dev = "platform_system == \"Darwin\" and python_version >= \"3.9\""} +markers = {main = "extra == \"research\" and platform_system == \"Darwin\" and python_version >= \"3.9\"", dev = "platform_system == \"Darwin\" and python_version >= \"3.9\""} [[package]] name = "argcomplete" @@ -690,27 +678,158 @@ lxml = ["lxml"] [[package]] name = "black" -version = "19.10b0" +version = "24.8.0" description = "The uncompromising code formatter." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" groups = ["dev"] +markers = "python_version < \"3.10\"" files = [ - {file = "black-19.10b0-py36-none-any.whl", hash = "sha256:1b30e59be925fafc1ee4565e5e08abef6b03fe455102883820fe5ee2e4734e0b"}, - {file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"}, + {file = "black-24.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:09cdeb74d494ec023ded657f7092ba518e8cf78fa8386155e4a03fdcc44679e6"}, + {file = "black-24.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:81c6742da39f33b08e791da38410f32e27d632260e599df7245cccee2064afeb"}, + {file = "black-24.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:707a1ca89221bc8a1a64fb5e15ef39cd755633daa672a9db7498d1c19de66a42"}, + {file = "black-24.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:d6417535d99c37cee4091a2f24eb2b6d5ec42b144d50f1f2e436d9fe1916fe1a"}, + {file = "black-24.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:fb6e2c0b86bbd43dee042e48059c9ad7830abd5c94b0bc518c0eeec57c3eddc1"}, + {file = "black-24.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:837fd281f1908d0076844bc2b801ad2d369c78c45cf800cad7b61686051041af"}, + {file = "black-24.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62e8730977f0b77998029da7971fa896ceefa2c4c4933fcd593fa599ecbf97a4"}, + {file = "black-24.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:72901b4913cbac8972ad911dc4098d5753704d1f3c56e44ae8dce99eecb0e3af"}, + {file = "black-24.8.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:7c046c1d1eeb7aea9335da62472481d3bbf3fd986e093cffd35f4385c94ae368"}, + {file = "black-24.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:649f6d84ccbae73ab767e206772cc2d7a393a001070a4c814a546afd0d423aed"}, + {file = "black-24.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2b59b250fdba5f9a9cd9d0ece6e6d993d91ce877d121d161e4698af3eb9c1018"}, + {file = "black-24.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:6e55d30d44bed36593c3163b9bc63bf58b3b30e4611e4d88a0c3c239930ed5b2"}, + {file = "black-24.8.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:505289f17ceda596658ae81b61ebbe2d9b25aa78067035184ed0a9d855d18afd"}, + {file = "black-24.8.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b19c9ad992c7883ad84c9b22aaa73562a16b819c1d8db7a1a1a49fb7ec13c7d2"}, + {file = "black-24.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1f13f7f386f86f8121d76599114bb8c17b69d962137fc70efe56137727c7047e"}, + {file = "black-24.8.0-cp38-cp38-win_amd64.whl", hash = "sha256:f490dbd59680d809ca31efdae20e634f3fae27fba3ce0ba3208333b713bc3920"}, + {file = "black-24.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:eab4dd44ce80dea27dc69db40dab62d4ca96112f87996bca68cd75639aeb2e4c"}, + {file = "black-24.8.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3c4285573d4897a7610054af5a890bde7c65cb466040c5f0c8b732812d7f0e5e"}, + {file = "black-24.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9e84e33b37be070ba135176c123ae52a51f82306def9f7d063ee302ecab2cf47"}, + {file = "black-24.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:73bbf84ed136e45d451a260c6b73ed674652f90a2b3211d6a35e78054563a9bb"}, + {file = "black-24.8.0-py3-none-any.whl", hash = "sha256:972085c618ee94f402da1af548a4f218c754ea7e5dc70acb168bfaca4c2542ed"}, + {file = "black-24.8.0.tar.gz", hash = "sha256:2500945420b6784c38b9ee885af039f5e7471ef284ab03fa35ecdde4688cd83f"}, ] [package.dependencies] -appdirs = "*" -attrs = ">=18.1.0" -click = ">=6.5" -pathspec = ">=0.6,<1" -regex = "*" -toml = ">=0.9.4" -typed-ast = ">=1.4.0" +click = ">=8.0.0" +mypy-extensions = ">=0.4.3" +packaging = ">=22.0" +pathspec = ">=0.9.0" +platformdirs = ">=2" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] -d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] +colorama = ["colorama (>=0.4.3)"] +d = ["aiohttp (>=3.7.4) ; sys_platform != \"win32\" or implementation_name != \"pypy\"", "aiohttp (>=3.7.4,!=3.9.0) ; sys_platform == \"win32\" and implementation_name == \"pypy\""] +jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] +uvloop = ["uvloop (>=0.15.2)"] + +[[package]] +name = "black" +version = "25.11.0" +description = "The uncompromising code formatter." +optional = false +python-versions = ">=3.9" +groups = ["dev"] +markers = "python_version == \"3.9\"" +files = [ + {file = "black-25.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ec311e22458eec32a807f029b2646f661e6859c3f61bc6d9ffb67958779f392e"}, + {file = "black-25.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1032639c90208c15711334d681de2e24821af0575573db2810b0763bcd62e0f0"}, + {file = "black-25.11.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0c0f7c461df55cf32929b002335883946a4893d759f2df343389c4396f3b6b37"}, + {file = "black-25.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:f9786c24d8e9bd5f20dc7a7f0cdd742644656987f6ea6947629306f937726c03"}, + {file = "black-25.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:895571922a35434a9d8ca67ef926da6bc9ad464522a5fe0db99b394ef1c0675a"}, + {file = "black-25.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:cb4f4b65d717062191bdec8e4a442539a8ea065e6af1c4f4d36f0cdb5f71e170"}, + {file = "black-25.11.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d81a44cbc7e4f73a9d6ae449ec2317ad81512d1e7dce7d57f6333fd6259737bc"}, + {file = "black-25.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:7eebd4744dfe92ef1ee349dc532defbf012a88b087bb7ddd688ff59a447b080e"}, + {file = "black-25.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:80e7486ad3535636657aa180ad32a7d67d7c273a80e12f1b4bfa0823d54e8fac"}, + {file = "black-25.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6cced12b747c4c76bc09b4db057c319d8545307266f41aaee665540bc0e04e96"}, + {file = "black-25.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6cb2d54a39e0ef021d6c5eef442e10fd71fcb491be6413d083a320ee768329dd"}, + {file = "black-25.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:ae263af2f496940438e5be1a0c1020e13b09154f3af4df0835ea7f9fe7bfa409"}, + {file = "black-25.11.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0a1d40348b6621cc20d3d7530a5b8d67e9714906dfd7346338249ad9c6cedf2b"}, + {file = "black-25.11.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:51c65d7d60bb25429ea2bf0731c32b2a2442eb4bd3b2afcb47830f0b13e58bfd"}, + {file = "black-25.11.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:936c4dd07669269f40b497440159a221ee435e3fddcf668e0c05244a9be71993"}, + {file = "black-25.11.0-cp313-cp313-win_amd64.whl", hash = "sha256:f42c0ea7f59994490f4dccd64e6b2dd49ac57c7c84f38b8faab50f8759db245c"}, + {file = "black-25.11.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:35690a383f22dd3e468c85dc4b915217f87667ad9cce781d7b42678ce63c4170"}, + {file = "black-25.11.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:dae49ef7369c6caa1a1833fd5efb7c3024bb7e4499bf64833f65ad27791b1545"}, + {file = "black-25.11.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5bd4a22a0b37401c8e492e994bce79e614f91b14d9ea911f44f36e262195fdda"}, + {file = "black-25.11.0-cp314-cp314-win_amd64.whl", hash = "sha256:aa211411e94fdf86519996b7f5f05e71ba34835d8f0c0f03c00a26271da02664"}, + {file = "black-25.11.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a3bb5ce32daa9ff0605d73b6f19da0b0e6c1f8f2d75594db539fdfed722f2b06"}, + {file = "black-25.11.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:9815ccee1e55717fe9a4b924cae1646ef7f54e0f990da39a34fc7b264fcf80a2"}, + {file = "black-25.11.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:92285c37b93a1698dcbc34581867b480f1ba3a7b92acf1fe0467b04d7a4da0dc"}, + {file = "black-25.11.0-cp39-cp39-win_amd64.whl", hash = "sha256:43945853a31099c7c0ff8dface53b4de56c41294fa6783c0441a8b1d9bf668bc"}, + {file = "black-25.11.0-py3-none-any.whl", hash = "sha256:e3f562da087791e96cefcd9dda058380a442ab322a02e222add53736451f604b"}, + {file = "black-25.11.0.tar.gz", hash = "sha256:9a323ac32f5dc75ce7470501b887250be5005a01602e931a15e45593f70f6e08"}, +] + +[package.dependencies] +click = ">=8.0.0" +mypy-extensions = ">=0.4.3" +packaging = ">=22.0" +pathspec = ">=0.9.0" +platformdirs = ">=2" +pytokens = ">=0.3.0" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} + +[package.extras] +colorama = ["colorama (>=0.4.3)"] +d = ["aiohttp (>=3.10)"] +jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] +uvloop = ["uvloop (>=0.15.2)"] + +[[package]] +name = "black" +version = "26.10.1" +description = "The uncompromising code formatter." +optional = false +python-versions = ">=3.10" +groups = ["dev"] +markers = "python_version >= \"3.10\"" +files = [ + {file = "black-26.10.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:51d5e417e700fe6ec0b0ecdc408c6f6cb5def80328f31f724993d82c6486b746"}, + {file = "black-26.10.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:70ccbd175b7f6be29d2b727ee7ca6b4c54053df59da653a6df80b175d20a94fa"}, + {file = "black-26.10.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5bd3518d8e97138fef295230b1e9804076d69fa4e3594071494a8c68abe6266"}, + {file = "black-26.10.1-cp310-cp310-win_amd64.whl", hash = "sha256:0ce08b367307b0fd91c9dd1d4084e62b05b3055475f951f0f34a46b6e2393b64"}, + {file = "black-26.10.1-cp310-cp310-win_arm64.whl", hash = "sha256:19fa8f5beb5e77c54c9c7e21d00cc93ed6c8b6228ee385616906d6befe081143"}, + {file = "black-26.10.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9a0219b29cd70e49f920acb7081e6ce5025c719008447c521d0200dcad93206a"}, + {file = "black-26.10.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7bdade400bfe24d78a7762896acc2f9a8e1a17fb0fd0536bf6b7c7097cf3eec7"}, + {file = "black-26.10.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ff57f63029aa1353fa8b1b0c8971fd88a6c92dc766608d2eee33ad2deb23270e"}, + {file = "black-26.10.1-cp311-cp311-win_amd64.whl", hash = "sha256:3414a0c52901964dceabd98c7c56beac0f964115a116ecedcce7247359b14017"}, + {file = "black-26.10.1-cp311-cp311-win_arm64.whl", hash = "sha256:1935b32f5326028019856e18cb42b4da63db23765dc84464cec723e0de478a9b"}, + {file = "black-26.10.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fe85fc4019bee59bc495c0f2a8ee76c5cd02c7015508d94a967ba2376f39a52c"}, + {file = "black-26.10.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:182f6c32be38074b16d378498c498b32cb51928178ee611485344972c35ec9c6"}, + {file = "black-26.10.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b5347d760f0c02bb00dd249384cab71c3bf828b4f68d5b401eb116e0390f147d"}, + {file = "black-26.10.1-cp312-cp312-win_amd64.whl", hash = "sha256:4d9a90516db1d99c25dbb20cc0998e0e01531dd903466c7744e56d66f864220a"}, + {file = "black-26.10.1-cp312-cp312-win_arm64.whl", hash = "sha256:2ffbc023a12d0c729408823b8f10514490bd0baa301d0d4e21a7240249f9507f"}, + {file = "black-26.10.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b6272cfd7e1e8e271f5b0e0207259fe2834687e5cb9b5f620b34a44db9754993"}, + {file = "black-26.10.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:978113a40223a6aaefc17364176a809a320e6b288683841427fff04c6d7b4130"}, + {file = "black-26.10.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:03c0ddd93bb392e71209903a691767eb366fe1a76deb9509ccbaae9e1f14bb52"}, + {file = "black-26.10.1-cp313-cp313-win_amd64.whl", hash = "sha256:f6dba8138cdc99061ef07b958ac082d2aa057b6961d1936f9717c350f02bab5f"}, + {file = "black-26.10.1-cp313-cp313-win_arm64.whl", hash = "sha256:d42dd2fac7c342ae67e64ee99c9532e20b2a84e92c79ed3317fa2ef54c801d93"}, + {file = "black-26.10.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:8375962579d537364cc0efa19b1474481915d3a793f9fc0774901814c5e5b5f4"}, + {file = "black-26.10.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d8b3a9074a680b3c5749633714e9ae3992a1e5a23343a97ad61cd9b119b444d2"}, + {file = "black-26.10.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:289282aa2e09d3162312a3be1788ff21b08e9ea9cc4a81e656024728b32428fb"}, + {file = "black-26.10.1-cp314-cp314-win_amd64.whl", hash = "sha256:5cd88fd7b444ca51f3fc883b6f6657ea53a258b0b2eef6d9f2dfcfa17ce0e27b"}, + {file = "black-26.10.1-cp314-cp314-win_arm64.whl", hash = "sha256:2520037aa62f8a1454d0811b8f5c88b444445b03a4bfba480d8d220893b64c34"}, + {file = "black-26.10.1-py3-none-any.whl", hash = "sha256:28842f9a8207cc1df6eb983a35a14c5a0dfcd603d214fe82d84bef552afd2e3a"}, + {file = "black-26.10.1.tar.gz", hash = "sha256:5f9f83beae62437e060dafd53d7f1fc327e3d3494f74d72ee5c2b73eb90fc4e7"}, +] + +[package.dependencies] +click = ">=8.0.0" +mypy-extensions = ">=0.4.3" +packaging = ">=22.0" +pathspec = ">=1.0.0" +platformdirs = ">=2" +pytokens = ">=0.4.0,<0.5.0" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} + +[package.extras] +colorama = ["colorama (>=0.4.3)"] +d = ["aiohttp (>=3.10)"] +jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] +uvloop = ["uvloop (>=0.15.2) ; sys_platform != \"win32\"", "winloop (>=0.5.0) ; sys_platform == \"win32\""] [[package]] name = "bleach" @@ -1341,7 +1460,7 @@ files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -markers = {main = "sys_platform == \"win32\" and extra == \"research\" or platform_system == \"Windows\" and python_version < \"3.10\"", dev = "sys_platform == \"win32\" or platform_system == \"Windows\""} +markers = {main = "extra == \"research\" and sys_platform == \"win32\" or platform_system == \"Windows\" and python_version < \"3.10\"", dev = "sys_platform == \"win32\" or platform_system == \"Windows\""} [[package]] name = "colorlog" @@ -2734,20 +2853,66 @@ pycodestyle = "*" [[package]] name = "flake8-black" -version = "0.2.4" +version = "0.3.7" description = "flake8 plugin to call black as a code style validator" optional = false -python-versions = "*" +python-versions = ">=3.8" groups = ["dev"] +markers = "python_version < \"3.10\"" files = [ - {file = "flake8-black-0.2.4.tar.gz", hash = "sha256:a7871bfd1cbff431a1fc91ba60ae154510c80f575e6b9a2bbb13dfb4650afd22"}, - {file = "flake8_black-0.2.4-py3-none-any.whl", hash = "sha256:0a70dfd97c8439827f365dc6dbc6c8c9cc087f0833625c6cc6848ff7876256be"}, + {file = "flake8_black-0.3.7-py3-none-any.whl", hash = "sha256:366215fbe9ee3d5a7e72710da9be871f52392e568ebd2821a16cd5f3a046d291"}, + {file = "flake8_black-0.3.7.tar.gz", hash = "sha256:a77f46d9b20414749d29a8b3c3abdc367b7b41ea977e55629467304c37c3b6ba"}, ] [package.dependencies] -black = "*" -flake8 = ">=3.0.0" -toml = "*" +black = ">=22.1.0,<25.9.0" +flake8 = ">=3" +tomli = {version = "*", markers = "python_version < \"3.11\""} + +[package.extras] +develop = ["build", "twine"] + +[[package]] +name = "flake8-black" +version = "0.4.0" +description = "flake8 plugin to call black as a code style validator" +optional = false +python-versions = ">=3.9" +groups = ["dev"] +markers = "python_version == \"3.9\"" +files = [ + {file = "flake8_black-0.4.0-py3-none-any.whl", hash = "sha256:288762d0c9ea065782d87eeecbcc20c69079d17fe1d0f0445f0eb0b0ffb80c39"}, + {file = "flake8_black-0.4.0.tar.gz", hash = "sha256:bf226868f695dee48d55ff6d7747e900709bfd6f605b7a378c70e711e3fc26cb"}, +] + +[package.dependencies] +black = ">=22.1.0" +flake8 = ">=3" +tomli = {version = "*", markers = "python_version < \"3.11\""} + +[package.extras] +develop = ["build", "twine"] + +[[package]] +name = "flake8-black" +version = "0.5.0" +description = "flake8 plugin to call black as a code style validator" +optional = false +python-versions = ">=3.10" +groups = ["dev"] +markers = "python_version >= \"3.10\"" +files = [ + {file = "flake8_black-0.5.0-py3-none-any.whl", hash = "sha256:28c16f3c5421d1831ce27177926dbaa1d6d460da475afdcd230d409c35495ae7"}, + {file = "flake8_black-0.5.0.tar.gz", hash = "sha256:7b71a1ae3eff428014d4cee8b9e8ea38f384f60bde89f0dad5882f2f9ed72469"}, +] + +[package.dependencies] +black = ">=22.1.0" +flake8 = ">=3" +tomli = {version = "*", markers = "python_version < \"3.11\""} + +[package.extras] +develop = ["build", "twine"] [[package]] name = "flake8-broken-line" @@ -4098,7 +4263,7 @@ files = [ {file = "ipykernel-7.4.0-py3-none-any.whl", hash = "sha256:a6757f790ddc5a6006b813d82da1a9dbb65b3a00f2b6607df776418c6566ec1c"}, {file = "ipykernel-7.4.0.tar.gz", hash = "sha256:4330114d22b9b33575b2c7c68753fc8faabbbcfbc60b0cdff9f14dd4ce63742f"}, ] -markers = {main = "python_version >= \"3.11\" and extra == \"research\"", dev = "python_version >= \"3.11\" and (platform_system != \"Windows\" or platform_python_implementation != \"PyPy\")"} +markers = {main = "python_version >= \"3.11\" and extra == \"research\"", dev = "(platform_system != \"Windows\" or platform_python_implementation != \"PyPy\") and python_version >= \"3.11\""} [package.dependencies] appnope = {version = ">=0.1.2", markers = "platform_system == \"Darwin\""} @@ -7378,11 +7543,30 @@ description = "Utility library for gitignore style pattern matching of file path optional = false python-versions = ">=3.8" groups = ["dev"] +markers = "python_version < \"3.10\"" files = [ {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, ] +[[package]] +name = "pathspec" +version = "1.1.1" +description = "Utility library for gitignore style pattern matching of file paths." +optional = false +python-versions = ">=3.9" +groups = ["dev"] +markers = "python_version >= \"3.10\"" +files = [ + {file = "pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189"}, + {file = "pathspec-1.1.1.tar.gz", hash = "sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a"}, +] + +[package.extras] +hyperscan = ["hyperscan (>=0.7)"] +optional = ["typing-extensions (>=4)"] +re2 = ["google-re2 (>=1.1)"] + [[package]] name = "patsy" version = "1.0.3" @@ -8133,7 +8317,7 @@ files = [ {file = "psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee"}, {file = "psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372"}, ] -markers = {main = "(sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" or python_version <= \"3.10\") and extra == \"research\"", dev = "(platform_system != \"Windows\" or platform_python_implementation != \"PyPy\" or python_version >= \"3.11\") and (sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" or platform_system != \"Windows\" or platform_python_implementation != \"PyPy\") and (sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" or python_version <= \"3.10\")"} +markers = {main = "extra == \"research\" and (sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" or python_version <= \"3.10\")", dev = "(sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" or platform_system != \"Windows\" or platform_python_implementation != \"PyPy\") and (sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" or python_version <= \"3.10\") and (platform_system != \"Windows\" or platform_python_implementation != \"PyPy\" or python_version >= \"3.11\")"} [package.extras] dev = ["abi3audit", "black", "check-manifest", "colorama ; os_name == \"nt\"", "coverage", "packaging", "psleak", "pylint", "pyperf", "pypinfo", "pyreadline3 ; os_name == \"nt\"", "pytest", "pytest-cov", "pytest-instafail", "pytest-xdist", "pywin32 ; os_name == \"nt\" and implementation_name != \"pypy\"", "requests", "rstcheck", "ruff", "setuptools", "sphinx", "sphinx_rtd_theme", "toml-sort", "twine", "validate-pyproject[all]", "virtualenv", "vulture", "wheel", "wheel ; os_name == \"nt\" and implementation_name != \"pypy\"", "wmi ; os_name == \"nt\" and implementation_name != \"pypy\""] @@ -8764,6 +8948,62 @@ files = [ {file = "python_json_logger-4.2.0.tar.gz", hash = "sha256:e371ebe22ec01e289850102091a2b1f6fc9e655c7f1f5f29073936756c290afa"}, ] +[[package]] +name = "pytokens" +version = "0.4.1" +description = "A Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons." +optional = false +python-versions = ">=3.8" +groups = ["dev"] +markers = "python_version >= \"3.9\"" +files = [ + {file = "pytokens-0.4.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2a44ed93ea23415c54f3face3b65ef2b844d96aeb3455b8a69b3df6beab6acc5"}, + {file = "pytokens-0.4.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:add8bf86b71a5d9fb5b89f023a80b791e04fba57960aa790cc6125f7f1d39dfe"}, + {file = "pytokens-0.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:670d286910b531c7b7e3c0b453fd8156f250adb140146d234a82219459b9640c"}, + {file = "pytokens-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:4e691d7f5186bd2842c14813f79f8884bb03f5995f0575272009982c5ac6c0f7"}, + {file = "pytokens-0.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:27b83ad28825978742beef057bfe406ad6ed524b2d28c252c5de7b4a6dd48fa2"}, + {file = "pytokens-0.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d70e77c55ae8380c91c0c18dea05951482e263982911fc7410b1ffd1dadd3440"}, + {file = "pytokens-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a58d057208cb9075c144950d789511220b07636dd2e4708d5645d24de666bdc"}, + {file = "pytokens-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b49750419d300e2b5a3813cf229d4e5a4c728dae470bcc89867a9ad6f25a722d"}, + {file = "pytokens-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d9907d61f15bf7261d7e775bd5d7ee4d2930e04424bab1972591918497623a16"}, + {file = "pytokens-0.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:ee44d0f85b803321710f9239f335aafe16553b39106384cef8e6de40cb4ef2f6"}, + {file = "pytokens-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:140709331e846b728475786df8aeb27d24f48cbcf7bcd449f8de75cae7a45083"}, + {file = "pytokens-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d6c4268598f762bc8e91f5dbf2ab2f61f7b95bdc07953b602db879b3c8c18e1"}, + {file = "pytokens-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24afde1f53d95348b5a0eb19488661147285ca4dd7ed752bbc3e1c6242a304d1"}, + {file = "pytokens-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5ad948d085ed6c16413eb5fec6b3e02fa00dc29a2534f088d3302c47eb59adf9"}, + {file = "pytokens-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:3f901fe783e06e48e8cbdc82d631fca8f118333798193e026a50ce1b3757ea68"}, + {file = "pytokens-0.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8bdb9d0ce90cbf99c525e75a2fa415144fd570a1ba987380190e8b786bc6ef9b"}, + {file = "pytokens-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5502408cab1cb18e128570f8d598981c68a50d0cbd7c61312a90507cd3a1276f"}, + {file = "pytokens-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29d1d8fb1030af4d231789959f21821ab6325e463f0503a61d204343c9b355d1"}, + {file = "pytokens-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:970b08dd6b86058b6dc07efe9e98414f5102974716232d10f32ff39701e841c4"}, + {file = "pytokens-0.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:9bd7d7f544d362576be74f9d5901a22f317efc20046efe2034dced238cbbfe78"}, + {file = "pytokens-0.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4a14d5f5fc78ce85e426aa159489e2d5961acf0e47575e08f35584009178e321"}, + {file = "pytokens-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f50fd18543be72da51dd505e2ed20d2228c74e0464e4262e4899797803d7fa"}, + {file = "pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dc74c035f9bfca0255c1af77ddd2d6ae8419012805453e4b0e7513e17904545d"}, + {file = "pytokens-0.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f66a6bbe741bd431f6d741e617e0f39ec7257ca1f89089593479347cc4d13324"}, + {file = "pytokens-0.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:b35d7e5ad269804f6697727702da3c517bb8a5228afa450ab0fa787732055fc9"}, + {file = "pytokens-0.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:8fcb9ba3709ff77e77f1c7022ff11d13553f3c30299a9fe246a166903e9091eb"}, + {file = "pytokens-0.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:79fc6b8699564e1f9b521582c35435f1bd32dd06822322ec44afdeba666d8cb3"}, + {file = "pytokens-0.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d31b97b3de0f61571a124a00ffe9a81fb9939146c122c11060725bd5aea79975"}, + {file = "pytokens-0.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:967cf6e3fd4adf7de8fc73cd3043754ae79c36475c1c11d514fc72cf5490094a"}, + {file = "pytokens-0.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:584c80c24b078eec1e227079d56dc22ff755e0ba8654d8383b2c549107528918"}, + {file = "pytokens-0.4.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:da5baeaf7116dced9c6bb76dc31ba04a2dc3695f3d9f74741d7910122b456edc"}, + {file = "pytokens-0.4.1-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:11edda0942da80ff58c4408407616a310adecae1ddd22eef8c692fe266fa5009"}, + {file = "pytokens-0.4.1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0fc71786e629cef478cbf29d7ea1923299181d0699dbe7c3c0f4a583811d9fc1"}, + {file = "pytokens-0.4.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:dcafc12c30dbaf1e2af0490978352e0c4041a7cde31f4f81435c2a5e8b9cabb6"}, + {file = "pytokens-0.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:42f144f3aafa5d92bad964d471a581651e28b24434d184871bd02e3a0d956037"}, + {file = "pytokens-0.4.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:34bcc734bd2f2d5fe3b34e7b3c0116bfb2397f2d9666139988e7a3eb5f7400e3"}, + {file = "pytokens-0.4.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:941d4343bf27b605e9213b26bfa1c4bf197c9c599a9627eb7305b0defcfe40c1"}, + {file = "pytokens-0.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3ad72b851e781478366288743198101e5eb34a414f1d5627cdd585ca3b25f1db"}, + {file = "pytokens-0.4.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:682fa37ff4d8e95f7df6fe6fe6a431e8ed8e788023c6bcc0f0880a12eab80ad1"}, + {file = "pytokens-0.4.1-cp39-cp39-win_amd64.whl", hash = "sha256:30f51edd9bb7f85c748979384165601d028b84f7bd13fe14d3e065304093916a"}, + {file = "pytokens-0.4.1-py3-none-any.whl", hash = "sha256:26cef14744a8385f35d0e095dc8b3a7583f6c953c2e3d269c7f82484bf5ad2de"}, + {file = "pytokens-0.4.1.tar.gz", hash = "sha256:292052fe80923aae2260c073f822ceba21f3872ced9a68bb7953b348e561179a"}, +] + +[package.extras] +dev = ["black", "build", "mypy", "pytest", "pytest-cov", "setuptools", "tox", "twine", "wheel"] + [[package]] name = "pytz" version = "2026.6" @@ -8891,7 +9131,7 @@ description = "Pseudo terminal support for Windows from Python." optional = true python-versions = ">=3.10" groups = ["main"] -markers = "os_name == \"nt\" and extra == \"research\" and python_version >= \"3.10\"" +markers = "extra == \"research\" and os_name == \"nt\" and python_version >= \"3.10\"" files = [ {file = "pywinpty-3.1.2-cp310-cp310-win_amd64.whl", hash = "sha256:197cb43a5a1c6ed5836907fdcb3f008883386bcdaa05ae0cfdf4848b3624e237"}, {file = "pywinpty-3.1.2-cp310-cp310-win_arm64.whl", hash = "sha256:6b351d5853e0899179f1e82a53c5ebd0d6ea8dca023f1b7f7082f2837002018a"}, @@ -9347,519 +9587,6 @@ attrs = ">=22.2.0" rpds-py = ">=0.7.0" typing-extensions = {version = ">=4.4.0", markers = "python_version < \"3.13\""} -[[package]] -name = "regex" -version = "2024.11.6" -description = "Alternative regular expression module, to replace re." -optional = false -python-versions = ">=3.8" -groups = ["dev"] -markers = "python_version < \"3.10\"" -files = [ - {file = "regex-2024.11.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ff590880083d60acc0433f9c3f713c51f7ac6ebb9adf889c79a261ecf541aa91"}, - {file = "regex-2024.11.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:658f90550f38270639e83ce492f27d2c8d2cd63805c65a13a14d36ca126753f0"}, - {file = "regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:164d8b7b3b4bcb2068b97428060b2a53be050085ef94eca7f240e7947f1b080e"}, - {file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d3660c82f209655a06b587d55e723f0b813d3a7db2e32e5e7dc64ac2a9e86fde"}, - {file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d22326fcdef5e08c154280b71163ced384b428343ae16a5ab2b3354aed12436e"}, - {file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f1ac758ef6aebfc8943560194e9fd0fa18bcb34d89fd8bd2af18183afd8da3a2"}, - {file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:997d6a487ff00807ba810e0f8332c18b4eb8d29463cfb7c820dc4b6e7562d0cf"}, - {file = "regex-2024.11.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:02a02d2bb04fec86ad61f3ea7f49c015a0681bf76abb9857f945d26159d2968c"}, - {file = "regex-2024.11.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f02f93b92358ee3f78660e43b4b0091229260c5d5c408d17d60bf26b6c900e86"}, - {file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:06eb1be98df10e81ebaded73fcd51989dcf534e3c753466e4b60c4697a003b67"}, - {file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:040df6fe1a5504eb0f04f048e6d09cd7c7110fef851d7c567a6b6e09942feb7d"}, - {file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:fdabbfc59f2c6edba2a6622c647b716e34e8e3867e0ab975412c5c2f79b82da2"}, - {file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8447d2d39b5abe381419319f942de20b7ecd60ce86f16a23b0698f22e1b70008"}, - {file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:da8f5fc57d1933de22a9e23eec290a0d8a5927a5370d24bda9a6abe50683fe62"}, - {file = "regex-2024.11.6-cp310-cp310-win32.whl", hash = "sha256:b489578720afb782f6ccf2840920f3a32e31ba28a4b162e13900c3e6bd3f930e"}, - {file = "regex-2024.11.6-cp310-cp310-win_amd64.whl", hash = "sha256:5071b2093e793357c9d8b2929dfc13ac5f0a6c650559503bb81189d0a3814519"}, - {file = "regex-2024.11.6-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:5478c6962ad548b54a591778e93cd7c456a7a29f8eca9c49e4f9a806dcc5d638"}, - {file = "regex-2024.11.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2c89a8cc122b25ce6945f0423dc1352cb9593c68abd19223eebbd4e56612c5b7"}, - {file = "regex-2024.11.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:94d87b689cdd831934fa3ce16cc15cd65748e6d689f5d2b8f4f4df2065c9fa20"}, - {file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1062b39a0a2b75a9c694f7a08e7183a80c63c0d62b301418ffd9c35f55aaa114"}, - {file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:167ed4852351d8a750da48712c3930b031f6efdaa0f22fa1933716bfcd6bf4a3"}, - {file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2d548dafee61f06ebdb584080621f3e0c23fff312f0de1afc776e2a2ba99a74f"}, - {file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2a19f302cd1ce5dd01a9099aaa19cae6173306d1302a43b627f62e21cf18ac0"}, - {file = "regex-2024.11.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bec9931dfb61ddd8ef2ebc05646293812cb6b16b60cf7c9511a832b6f1854b55"}, - {file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9714398225f299aa85267fd222f7142fcb5c769e73d7733344efc46f2ef5cf89"}, - {file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:202eb32e89f60fc147a41e55cb086db2a3f8cb82f9a9a88440dcfc5d37faae8d"}, - {file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:4181b814e56078e9b00427ca358ec44333765f5ca1b45597ec7446d3a1ef6e34"}, - {file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:068376da5a7e4da51968ce4c122a7cd31afaaec4fccc7856c92f63876e57b51d"}, - {file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ac10f2c4184420d881a3475fb2c6f4d95d53a8d50209a2500723d831036f7c45"}, - {file = "regex-2024.11.6-cp311-cp311-win32.whl", hash = "sha256:c36f9b6f5f8649bb251a5f3f66564438977b7ef8386a52460ae77e6070d309d9"}, - {file = "regex-2024.11.6-cp311-cp311-win_amd64.whl", hash = "sha256:02e28184be537f0e75c1f9b2f8847dc51e08e6e171c6bde130b2687e0c33cf60"}, - {file = "regex-2024.11.6-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:52fb28f528778f184f870b7cf8f225f5eef0a8f6e3778529bdd40c7b3920796a"}, - {file = "regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdd6028445d2460f33136c55eeb1f601ab06d74cb3347132e1c24250187500d9"}, - {file = "regex-2024.11.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:805e6b60c54bf766b251e94526ebad60b7de0c70f70a4e6210ee2891acb70bf2"}, - {file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b85c2530be953a890eaffde05485238f07029600e8f098cdf1848d414a8b45e4"}, - {file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bb26437975da7dc36b7efad18aa9dd4ea569d2357ae6b783bf1118dabd9ea577"}, - {file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:abfa5080c374a76a251ba60683242bc17eeb2c9818d0d30117b4486be10c59d3"}, - {file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b7fa6606c2881c1db9479b0eaa11ed5dfa11c8d60a474ff0e095099f39d98e"}, - {file = "regex-2024.11.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0c32f75920cf99fe6b6c539c399a4a128452eaf1af27f39bce8909c9a3fd8cbe"}, - {file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:982e6d21414e78e1f51cf595d7f321dcd14de1f2881c5dc6a6e23bbbbd68435e"}, - {file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a7c2155f790e2fb448faed6dd241386719802296ec588a8b9051c1f5c481bc29"}, - {file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:149f5008d286636e48cd0b1dd65018548944e495b0265b45e1bffecce1ef7f39"}, - {file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:e5364a4502efca094731680e80009632ad6624084aff9a23ce8c8c6820de3e51"}, - {file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0a86e7eeca091c09e021db8eb72d54751e527fa47b8d5787caf96d9831bd02ad"}, - {file = "regex-2024.11.6-cp312-cp312-win32.whl", hash = "sha256:32f9a4c643baad4efa81d549c2aadefaeba12249b2adc5af541759237eee1c54"}, - {file = "regex-2024.11.6-cp312-cp312-win_amd64.whl", hash = "sha256:a93c194e2df18f7d264092dc8539b8ffb86b45b899ab976aa15d48214138e81b"}, - {file = "regex-2024.11.6-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a6ba92c0bcdf96cbf43a12c717eae4bc98325ca3730f6b130ffa2e3c3c723d84"}, - {file = "regex-2024.11.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:525eab0b789891ac3be914d36893bdf972d483fe66551f79d3e27146191a37d4"}, - {file = "regex-2024.11.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:086a27a0b4ca227941700e0b31425e7a28ef1ae8e5e05a33826e17e47fbfdba0"}, - {file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bde01f35767c4a7899b7eb6e823b125a64de314a8ee9791367c9a34d56af18d0"}, - {file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b583904576650166b3d920d2bcce13971f6f9e9a396c673187f49811b2769dc7"}, - {file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1c4de13f06a0d54fa0d5ab1b7138bfa0d883220965a29616e3ea61b35d5f5fc7"}, - {file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3cde6e9f2580eb1665965ce9bf17ff4952f34f5b126beb509fee8f4e994f143c"}, - {file = "regex-2024.11.6-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0d7f453dca13f40a02b79636a339c5b62b670141e63efd511d3f8f73fba162b3"}, - {file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:59dfe1ed21aea057a65c6b586afd2a945de04fc7db3de0a6e3ed5397ad491b07"}, - {file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b97c1e0bd37c5cd7902e65f410779d39eeda155800b65fc4d04cc432efa9bc6e"}, - {file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f9d1e379028e0fc2ae3654bac3cbbef81bf3fd571272a42d56c24007979bafb6"}, - {file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:13291b39131e2d002a7940fb176e120bec5145f3aeb7621be6534e46251912c4"}, - {file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4f51f88c126370dcec4908576c5a627220da6c09d0bff31cfa89f2523843316d"}, - {file = "regex-2024.11.6-cp313-cp313-win32.whl", hash = "sha256:63b13cfd72e9601125027202cad74995ab26921d8cd935c25f09c630436348ff"}, - {file = "regex-2024.11.6-cp313-cp313-win_amd64.whl", hash = "sha256:2b3361af3198667e99927da8b84c1b010752fa4b1115ee30beaa332cabc3ef1a"}, - {file = "regex-2024.11.6-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:3a51ccc315653ba012774efca4f23d1d2a8a8f278a6072e29c7147eee7da446b"}, - {file = "regex-2024.11.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ad182d02e40de7459b73155deb8996bbd8e96852267879396fb274e8700190e3"}, - {file = "regex-2024.11.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ba9b72e5643641b7d41fa1f6d5abda2c9a263ae835b917348fc3c928182ad467"}, - {file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40291b1b89ca6ad8d3f2b82782cc33807f1406cf68c8d440861da6304d8ffbbd"}, - {file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cdf58d0e516ee426a48f7b2c03a332a4114420716d55769ff7108c37a09951bf"}, - {file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a36fdf2af13c2b14738f6e973aba563623cb77d753bbbd8d414d18bfaa3105dd"}, - {file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1cee317bfc014c2419a76bcc87f071405e3966da434e03e13beb45f8aced1a6"}, - {file = "regex-2024.11.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:50153825ee016b91549962f970d6a4442fa106832e14c918acd1c8e479916c4f"}, - {file = "regex-2024.11.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ea1bfda2f7162605f6e8178223576856b3d791109f15ea99a9f95c16a7636fb5"}, - {file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:df951c5f4a1b1910f1a99ff42c473ff60f8225baa1cdd3539fe2819d9543e9df"}, - {file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:072623554418a9911446278f16ecb398fb3b540147a7828c06e2011fa531e773"}, - {file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:f654882311409afb1d780b940234208a252322c24a93b442ca714d119e68086c"}, - {file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:89d75e7293d2b3e674db7d4d9b1bee7f8f3d1609428e293771d1a962617150cc"}, - {file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:f65557897fc977a44ab205ea871b690adaef6b9da6afda4790a2484b04293a5f"}, - {file = "regex-2024.11.6-cp38-cp38-win32.whl", hash = "sha256:6f44ec28b1f858c98d3036ad5d7d0bfc568bdd7a74f9c24e25f41ef1ebfd81a4"}, - {file = "regex-2024.11.6-cp38-cp38-win_amd64.whl", hash = "sha256:bb8f74f2f10dbf13a0be8de623ba4f9491faf58c24064f32b65679b021ed0001"}, - {file = "regex-2024.11.6-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5704e174f8ccab2026bd2f1ab6c510345ae8eac818b613d7d73e785f1310f839"}, - {file = "regex-2024.11.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:220902c3c5cc6af55d4fe19ead504de80eb91f786dc102fbd74894b1551f095e"}, - {file = "regex-2024.11.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5e7e351589da0850c125f1600a4c4ba3c722efefe16b297de54300f08d734fbf"}, - {file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5056b185ca113c88e18223183aa1a50e66507769c9640a6ff75859619d73957b"}, - {file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2e34b51b650b23ed3354b5a07aab37034d9f923db2a40519139af34f485f77d0"}, - {file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5670bce7b200273eee1840ef307bfa07cda90b38ae56e9a6ebcc9f50da9c469b"}, - {file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:08986dce1339bc932923e7d1232ce9881499a0e02925f7402fb7c982515419ef"}, - {file = "regex-2024.11.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:93c0b12d3d3bc25af4ebbf38f9ee780a487e8bf6954c115b9f015822d3bb8e48"}, - {file = "regex-2024.11.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:764e71f22ab3b305e7f4c21f1a97e1526a25ebdd22513e251cf376760213da13"}, - {file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:f056bf21105c2515c32372bbc057f43eb02aae2fda61052e2f7622c801f0b4e2"}, - {file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:69ab78f848845569401469da20df3e081e6b5a11cb086de3eed1d48f5ed57c95"}, - {file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:86fddba590aad9208e2fa8b43b4c098bb0ec74f15718bb6a704e3c63e2cef3e9"}, - {file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:684d7a212682996d21ca12ef3c17353c021fe9de6049e19ac8481ec35574a70f"}, - {file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a03e02f48cd1abbd9f3b7e3586d97c8f7a9721c436f51a5245b3b9483044480b"}, - {file = "regex-2024.11.6-cp39-cp39-win32.whl", hash = "sha256:41758407fc32d5c3c5de163888068cfee69cb4c2be844e7ac517a52770f9af57"}, - {file = "regex-2024.11.6-cp39-cp39-win_amd64.whl", hash = "sha256:b2837718570f95dd41675328e111345f9b7095d821bac435aac173ac80b19983"}, - {file = "regex-2024.11.6.tar.gz", hash = "sha256:7ab159b063c52a0333c884e4679f8d7a85112ee3078fe3d9004b2dd875585519"}, -] - -[[package]] -name = "regex" -version = "2026.1.15" -description = "Alternative regular expression module, to replace re." -optional = false -python-versions = ">=3.9" -groups = ["dev"] -markers = "python_version == \"3.9\"" -files = [ - {file = "regex-2026.1.15-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4e3dd93c8f9abe8aa4b6c652016da9a3afa190df5ad822907efe6b206c09896e"}, - {file = "regex-2026.1.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:97499ff7862e868b1977107873dd1a06e151467129159a6ffd07b66706ba3a9f"}, - {file = "regex-2026.1.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0bda75ebcac38d884240914c6c43d8ab5fb82e74cde6da94b43b17c411aa4c2b"}, - {file = "regex-2026.1.15-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7dcc02368585334f5bc81fc73a2a6a0bbade60e7d83da21cead622faf408f32c"}, - {file = "regex-2026.1.15-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:693b465171707bbe882a7a05de5e866f33c76aa449750bee94a8d90463533cc9"}, - {file = "regex-2026.1.15-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b0d190e6f013ea938623a58706d1469a62103fb2a241ce2873a9906e0386582c"}, - {file = "regex-2026.1.15-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5ff818702440a5878a81886f127b80127f5d50563753a28211482867f8318106"}, - {file = "regex-2026.1.15-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f052d1be37ef35a54e394de66136e30fa1191fab64f71fc06ac7bc98c9a84618"}, - {file = "regex-2026.1.15-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6bfc31a37fd1592f0c4fc4bfc674b5c42e52efe45b4b7a6a14f334cca4bcebe4"}, - {file = "regex-2026.1.15-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3d6ce5ae80066b319ae3bc62fd55a557c9491baa5efd0d355f0de08c4ba54e79"}, - {file = "regex-2026.1.15-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:1704d204bd42b6bb80167df0e4554f35c255b579ba99616def38f69e14a5ccb9"}, - {file = "regex-2026.1.15-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:e3174a5ed4171570dc8318afada56373aa9289eb6dc0d96cceb48e7358b0e220"}, - {file = "regex-2026.1.15-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:87adf5bd6d72e3e17c9cb59ac4096b1faaf84b7eb3037a5ffa61c4b4370f0f13"}, - {file = "regex-2026.1.15-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e85dc94595f4d766bd7d872a9de5ede1ca8d3063f3bdf1e2c725f5eb411159e3"}, - {file = "regex-2026.1.15-cp310-cp310-win32.whl", hash = "sha256:21ca32c28c30d5d65fc9886ff576fc9b59bbca08933e844fa2363e530f4c8218"}, - {file = "regex-2026.1.15-cp310-cp310-win_amd64.whl", hash = "sha256:3038a62fc7d6e5547b8915a3d927a0fbeef84cdbe0b1deb8c99bbd4a8961b52a"}, - {file = "regex-2026.1.15-cp310-cp310-win_arm64.whl", hash = "sha256:505831646c945e3e63552cc1b1b9b514f0e93232972a2d5bedbcc32f15bc82e3"}, - {file = "regex-2026.1.15-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:1ae6020fb311f68d753b7efa9d4b9a5d47a5d6466ea0d5e3b5a471a960ea6e4a"}, - {file = "regex-2026.1.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:eddf73f41225942c1f994914742afa53dc0d01a6e20fe14b878a1b1edc74151f"}, - {file = "regex-2026.1.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e8cd52557603f5c66a548f69421310886b28b7066853089e1a71ee710e1cdc1"}, - {file = "regex-2026.1.15-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5170907244b14303edc5978f522f16c974f32d3aa92109fabc2af52411c9433b"}, - {file = "regex-2026.1.15-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2748c1ec0663580b4510bd89941a31560b4b439a0b428b49472a3d9944d11cd8"}, - {file = "regex-2026.1.15-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2f2775843ca49360508d080eaa87f94fa248e2c946bbcd963bb3aae14f333413"}, - {file = "regex-2026.1.15-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d9ea2604370efc9a174c1b5dcc81784fb040044232150f7f33756049edfc9026"}, - {file = "regex-2026.1.15-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0dcd31594264029b57bf16f37fd7248a70b3b764ed9e0839a8f271b2d22c0785"}, - {file = "regex-2026.1.15-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c08c1f3e34338256732bd6938747daa3c0d5b251e04b6e43b5813e94d503076e"}, - {file = "regex-2026.1.15-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:e43a55f378df1e7a4fa3547c88d9a5a9b7113f653a66821bcea4718fe6c58763"}, - {file = "regex-2026.1.15-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:f82110ab962a541737bd0ce87978d4c658f06e7591ba899192e2712a517badbb"}, - {file = "regex-2026.1.15-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:27618391db7bdaf87ac6c92b31e8f0dfb83a9de0075855152b720140bda177a2"}, - {file = "regex-2026.1.15-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bfb0d6be01fbae8d6655c8ca21b3b72458606c4aec9bbc932db758d47aba6db1"}, - {file = "regex-2026.1.15-cp311-cp311-win32.whl", hash = "sha256:b10e42a6de0e32559a92f2f8dc908478cc0fa02838d7dbe764c44dca3fa13569"}, - {file = "regex-2026.1.15-cp311-cp311-win_amd64.whl", hash = "sha256:e9bf3f0bbdb56633c07d7116ae60a576f846efdd86a8848f8d62b749e1209ca7"}, - {file = "regex-2026.1.15-cp311-cp311-win_arm64.whl", hash = "sha256:41aef6f953283291c4e4e6850607bd71502be67779586a61472beacb315c97ec"}, - {file = "regex-2026.1.15-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:4c8fcc5793dde01641a35905d6731ee1548f02b956815f8f1cab89e515a5bdf1"}, - {file = "regex-2026.1.15-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:bfd876041a956e6a90ad7cdb3f6a630c07d491280bfeed4544053cd434901681"}, - {file = "regex-2026.1.15-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9250d087bc92b7d4899ccd5539a1b2334e44eee85d848c4c1aef8e221d3f8c8f"}, - {file = "regex-2026.1.15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c8a154cf6537ebbc110e24dabe53095e714245c272da9c1be05734bdad4a61aa"}, - {file = "regex-2026.1.15-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8050ba2e3ea1d8731a549e83c18d2f0999fbc99a5f6bd06b4c91449f55291804"}, - {file = "regex-2026.1.15-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0bf065240704cb8951cc04972cf107063917022511273e0969bdb34fc173456c"}, - {file = "regex-2026.1.15-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c32bef3e7aeee75746748643667668ef941d28b003bfc89994ecf09a10f7a1b5"}, - {file = "regex-2026.1.15-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d5eaa4a4c5b1906bd0d2508d68927f15b81821f85092e06f1a34a4254b0e1af3"}, - {file = "regex-2026.1.15-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:86c1077a3cc60d453d4084d5b9649065f3bf1184e22992bd322e1f081d3117fb"}, - {file = "regex-2026.1.15-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:2b091aefc05c78d286657cd4db95f2e6313375ff65dcf085e42e4c04d9c8d410"}, - {file = "regex-2026.1.15-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:57e7d17f59f9ebfa9667e6e5a1c0127b96b87cb9cede8335482451ed00788ba4"}, - {file = "regex-2026.1.15-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:c6c4dcdfff2c08509faa15d36ba7e5ef5fcfab25f1e8f85a0c8f45bc3a30725d"}, - {file = "regex-2026.1.15-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cf8ff04c642716a7f2048713ddc6278c5fd41faa3b9cab12607c7abecd012c22"}, - {file = "regex-2026.1.15-cp312-cp312-win32.whl", hash = "sha256:82345326b1d8d56afbe41d881fdf62f1926d7264b2fc1537f99ae5da9aad7913"}, - {file = "regex-2026.1.15-cp312-cp312-win_amd64.whl", hash = "sha256:4def140aa6156bc64ee9912383d4038f3fdd18fee03a6f222abd4de6357ce42a"}, - {file = "regex-2026.1.15-cp312-cp312-win_arm64.whl", hash = "sha256:c6c565d9a6e1a8d783c1948937ffc377dd5771e83bd56de8317c450a954d2056"}, - {file = "regex-2026.1.15-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:e69d0deeb977ffe7ed3d2e4439360089f9c3f217ada608f0f88ebd67afb6385e"}, - {file = "regex-2026.1.15-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3601ffb5375de85a16f407854d11cca8fe3f5febbe3ac78fb2866bb220c74d10"}, - {file = "regex-2026.1.15-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:4c5ef43b5c2d4114eb8ea424bb8c9cec01d5d17f242af88b2448f5ee81caadbc"}, - {file = "regex-2026.1.15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:968c14d4f03e10b2fd960f1d5168c1f0ac969381d3c1fcc973bc45fb06346599"}, - {file = "regex-2026.1.15-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:56a5595d0f892f214609c9f76b41b7428bed439d98dc961efafdd1354d42baae"}, - {file = "regex-2026.1.15-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0bf650f26087363434c4e560011f8e4e738f6f3e029b85d4904c50135b86cfa5"}, - {file = "regex-2026.1.15-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:18388a62989c72ac24de75f1449d0fb0b04dfccd0a1a7c1c43af5eb503d890f6"}, - {file = "regex-2026.1.15-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6d220a2517f5893f55daac983bfa9fe998a7dbcaee4f5d27a88500f8b7873788"}, - {file = "regex-2026.1.15-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c9c08c2fbc6120e70abff5d7f28ffb4d969e14294fb2143b4b5c7d20e46d1714"}, - {file = "regex-2026.1.15-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:7ef7d5d4bd49ec7364315167a4134a015f61e8266c6d446fc116a9ac4456e10d"}, - {file = "regex-2026.1.15-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:6e42844ad64194fa08d5ccb75fe6a459b9b08e6d7296bd704460168d58a388f3"}, - {file = "regex-2026.1.15-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:cfecdaa4b19f9ca534746eb3b55a5195d5c95b88cac32a205e981ec0a22b7d31"}, - {file = "regex-2026.1.15-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:08df9722d9b87834a3d701f3fca570b2be115654dbfd30179f30ab2f39d606d3"}, - {file = "regex-2026.1.15-cp313-cp313-win32.whl", hash = "sha256:d426616dae0967ca225ab12c22274eb816558f2f99ccb4a1d52ca92e8baf180f"}, - {file = "regex-2026.1.15-cp313-cp313-win_amd64.whl", hash = "sha256:febd38857b09867d3ed3f4f1af7d241c5c50362e25ef43034995b77a50df494e"}, - {file = "regex-2026.1.15-cp313-cp313-win_arm64.whl", hash = "sha256:8e32f7896f83774f91499d239e24cebfadbc07639c1494bb7213983842348337"}, - {file = "regex-2026.1.15-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:ec94c04149b6a7b8120f9f44565722c7ae31b7a6d2275569d2eefa76b83da3be"}, - {file = "regex-2026.1.15-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:40c86d8046915bb9aeb15d3f3f15b6fd500b8ea4485b30e1bbc799dab3fe29f8"}, - {file = "regex-2026.1.15-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:726ea4e727aba21643205edad8f2187ec682d3305d790f73b7a51c7587b64bdd"}, - {file = "regex-2026.1.15-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1cb740d044aff31898804e7bf1181cc72c03d11dfd19932b9911ffc19a79070a"}, - {file = "regex-2026.1.15-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:05d75a668e9ea16f832390d22131fe1e8acc8389a694c8febc3e340b0f810b93"}, - {file = "regex-2026.1.15-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d991483606f3dbec93287b9f35596f41aa2e92b7c2ebbb935b63f409e243c9af"}, - {file = "regex-2026.1.15-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:194312a14819d3e44628a44ed6fea6898fdbecb0550089d84c403475138d0a09"}, - {file = "regex-2026.1.15-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fe2fda4110a3d0bc163c2e0664be44657431440722c5c5315c65155cab92f9e5"}, - {file = "regex-2026.1.15-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:124dc36c85d34ef2d9164da41a53c1c8c122cfb1f6e1ec377a1f27ee81deb794"}, - {file = "regex-2026.1.15-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:a1774cd1981cd212506a23a14dba7fdeaee259f5deba2df6229966d9911e767a"}, - {file = "regex-2026.1.15-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:b5f7d8d2867152cdb625e72a530d2ccb48a3d199159144cbdd63870882fb6f80"}, - {file = "regex-2026.1.15-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:492534a0ab925d1db998defc3c302dae3616a2fc3fe2e08db1472348f096ddf2"}, - {file = "regex-2026.1.15-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c661fc820cfb33e166bf2450d3dadbda47c8d8981898adb9b6fe24e5e582ba60"}, - {file = "regex-2026.1.15-cp313-cp313t-win32.whl", hash = "sha256:99ad739c3686085e614bf77a508e26954ff1b8f14da0e3765ff7abbf7799f952"}, - {file = "regex-2026.1.15-cp313-cp313t-win_amd64.whl", hash = "sha256:32655d17905e7ff8ba5c764c43cb124e34a9245e45b83c22e81041e1071aee10"}, - {file = "regex-2026.1.15-cp313-cp313t-win_arm64.whl", hash = "sha256:b2a13dd6a95e95a489ca242319d18fc02e07ceb28fa9ad146385194d95b3c829"}, - {file = "regex-2026.1.15-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:d920392a6b1f353f4aa54328c867fec3320fa50657e25f64abf17af054fc97ac"}, - {file = "regex-2026.1.15-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:b5a28980a926fa810dbbed059547b02783952e2efd9c636412345232ddb87ff6"}, - {file = "regex-2026.1.15-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:621f73a07595d83f28952d7bd1e91e9d1ed7625fb7af0064d3516674ec93a2a2"}, - {file = "regex-2026.1.15-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3d7d92495f47567a9b1669c51fc8d6d809821849063d168121ef801bbc213846"}, - {file = "regex-2026.1.15-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8dd16fba2758db7a3780a051f245539c4451ca20910f5a5e6ea1c08d06d4a76b"}, - {file = "regex-2026.1.15-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1e1808471fbe44c1a63e5f577a1d5f02fe5d66031dcbdf12f093ffc1305a858e"}, - {file = "regex-2026.1.15-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0751a26ad39d4f2ade8fe16c59b2bf5cb19eb3d2cd543e709e583d559bd9efde"}, - {file = "regex-2026.1.15-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0f0c7684c7f9ca241344ff95a1de964f257a5251968484270e91c25a755532c5"}, - {file = "regex-2026.1.15-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:74f45d170a21df41508cb67165456538425185baaf686281fa210d7e729abc34"}, - {file = "regex-2026.1.15-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:f1862739a1ffb50615c0fde6bae6569b5efbe08d98e59ce009f68a336f64da75"}, - {file = "regex-2026.1.15-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:453078802f1b9e2b7303fb79222c054cb18e76f7bdc220f7530fdc85d319f99e"}, - {file = "regex-2026.1.15-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:a30a68e89e5a218b8b23a52292924c1f4b245cb0c68d1cce9aec9bbda6e2c160"}, - {file = "regex-2026.1.15-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9479cae874c81bf610d72b85bb681a94c95722c127b55445285fb0e2c82db8e1"}, - {file = "regex-2026.1.15-cp314-cp314-win32.whl", hash = "sha256:d639a750223132afbfb8f429c60d9d318aeba03281a5f1ab49f877456448dcf1"}, - {file = "regex-2026.1.15-cp314-cp314-win_amd64.whl", hash = "sha256:4161d87f85fa831e31469bfd82c186923070fc970b9de75339b68f0c75b51903"}, - {file = "regex-2026.1.15-cp314-cp314-win_arm64.whl", hash = "sha256:91c5036ebb62663a6b3999bdd2e559fd8456d17e2b485bf509784cd31a8b1705"}, - {file = "regex-2026.1.15-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:ee6854c9000a10938c79238de2379bea30c82e4925a371711af45387df35cab8"}, - {file = "regex-2026.1.15-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:2c2b80399a422348ce5de4fe40c418d6299a0fa2803dd61dc0b1a2f28e280fcf"}, - {file = "regex-2026.1.15-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:dca3582bca82596609959ac39e12b7dad98385b4fefccb1151b937383cec547d"}, - {file = "regex-2026.1.15-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef71d476caa6692eea743ae5ea23cde3260677f70122c4d258ca952e5c2d4e84"}, - {file = "regex-2026.1.15-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c243da3436354f4af6c3058a3f81a97d47ea52c9bd874b52fd30274853a1d5df"}, - {file = "regex-2026.1.15-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8355ad842a7c7e9e5e55653eade3b7d1885ba86f124dd8ab1f722f9be6627434"}, - {file = "regex-2026.1.15-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f192a831d9575271a22d804ff1a5355355723f94f31d9eef25f0d45a152fdc1a"}, - {file = "regex-2026.1.15-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:166551807ec20d47ceaeec380081f843e88c8949780cd42c40f18d16168bed10"}, - {file = "regex-2026.1.15-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:f9ca1cbdc0fbfe5e6e6f8221ef2309988db5bcede52443aeaee9a4ad555e0dac"}, - {file = "regex-2026.1.15-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b30bcbd1e1221783c721483953d9e4f3ab9c5d165aa709693d3f3946747b1aea"}, - {file = "regex-2026.1.15-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:2a8d7b50c34578d0d3bf7ad58cde9652b7d683691876f83aedc002862a35dc5e"}, - {file = "regex-2026.1.15-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:9d787e3310c6a6425eb346be4ff2ccf6eece63017916fd77fe8328c57be83521"}, - {file = "regex-2026.1.15-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:619843841e220adca114118533a574a9cd183ed8a28b85627d2844c500a2b0db"}, - {file = "regex-2026.1.15-cp314-cp314t-win32.whl", hash = "sha256:e90b8db97f6f2c97eb045b51a6b2c5ed69cedd8392459e0642d4199b94fabd7e"}, - {file = "regex-2026.1.15-cp314-cp314t-win_amd64.whl", hash = "sha256:5ef19071f4ac9f0834793af85bd04a920b4407715624e40cb7a0631a11137cdf"}, - {file = "regex-2026.1.15-cp314-cp314t-win_arm64.whl", hash = "sha256:ca89c5e596fc05b015f27561b3793dc2fa0917ea0d7507eebb448efd35274a70"}, - {file = "regex-2026.1.15-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:55b4ea996a8e4458dd7b584a2f89863b1655dd3d17b88b46cbb9becc495a0ec5"}, - {file = "regex-2026.1.15-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7e1e28be779884189cdd57735e997f282b64fd7ccf6e2eef3e16e57d7a34a815"}, - {file = "regex-2026.1.15-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0057de9eaef45783ff69fa94ae9f0fd906d629d0bd4c3217048f46d1daa32e9b"}, - {file = "regex-2026.1.15-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cc7cd0b2be0f0269283a45c0d8b2c35e149d1319dcb4a43c9c3689fa935c1ee6"}, - {file = "regex-2026.1.15-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8db052bbd981e1666f09e957f3790ed74080c2229007c1dd67afdbf0b469c48b"}, - {file = "regex-2026.1.15-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:343db82cb3712c31ddf720f097ef17c11dab2f67f7a3e7be976c4f82eba4e6df"}, - {file = "regex-2026.1.15-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:55e9d0118d97794367309635df398bdfd7c33b93e2fdfa0b239661cd74b4c14e"}, - {file = "regex-2026.1.15-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:008b185f235acd1e53787333e5690082e4f156c44c87d894f880056089e9bc7c"}, - {file = "regex-2026.1.15-cp39-cp39-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fd65af65e2aaf9474e468f9e571bd7b189e1df3a61caa59dcbabd0000e4ea839"}, - {file = "regex-2026.1.15-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:f42e68301ff4afee63e365a5fc302b81bb8ba31af625a671d7acb19d10168a8c"}, - {file = "regex-2026.1.15-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:f7792f27d3ee6e0244ea4697d92b825f9a329ab5230a78c1a68bd274e64b5077"}, - {file = "regex-2026.1.15-cp39-cp39-musllinux_1_2_riscv64.whl", hash = "sha256:dbaf3c3c37ef190439981648ccbf0c02ed99ae066087dd117fcb616d80b010a4"}, - {file = "regex-2026.1.15-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:adc97a9077c2696501443d8ad3fa1b4fc6d131fc8fd7dfefd1a723f89071cf0a"}, - {file = "regex-2026.1.15-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:069f56a7bf71d286a6ff932a9e6fb878f151c998ebb2519a9f6d1cee4bffdba3"}, - {file = "regex-2026.1.15-cp39-cp39-win32.whl", hash = "sha256:ea4e6b3566127fda5e007e90a8fd5a4169f0cf0619506ed426db647f19c8454a"}, - {file = "regex-2026.1.15-cp39-cp39-win_amd64.whl", hash = "sha256:cda1ed70d2b264952e88adaa52eea653a33a1b98ac907ae2f86508eb44f65cdc"}, - {file = "regex-2026.1.15-cp39-cp39-win_arm64.whl", hash = "sha256:b325d4714c3c48277bfea1accd94e193ad6ed42b4bad79ad64f3b8f8a31260a5"}, - {file = "regex-2026.1.15.tar.gz", hash = "sha256:164759aa25575cbc0651bef59a0b18353e54300d79ace8084c818ad8ac72b7d5"}, -] - -[[package]] -name = "regex" -version = "2026.9.29" -description = "Alternative regular expression module, to replace re." -optional = false -python-versions = ">=3.10" -groups = ["dev"] -markers = "python_version == \"3.10\"" -files = [ - {file = "regex-2026.9.29-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9916fda742cd4eede63b286f58c06718324265d727ce0856eb1aac86d0d150d6"}, - {file = "regex-2026.9.29-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8873c4a11c50b9989168881aeb3f08859f469d809941866aa1feefd8be5431f6"}, - {file = "regex-2026.9.29-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1d9fe8091b2e89d470df68a9331111ed008ae8aae6bf1e8e1fba4086a495c84e"}, - {file = "regex-2026.9.29-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fb00027a09a8f9f08028b40dce4c933cf73e4833240ed356583fdc9cfa721566"}, - {file = "regex-2026.9.29-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:14e953ff3607c92d7675bf79c4d4509ef6782aa8c08509f179f9b3d6d0679e86"}, - {file = "regex-2026.9.29-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0476e5bcbe6e1ba3d1c4cc7bbb1c3ba78e3b979b5c8a88d0a6a8cdd4992b8c84"}, - {file = "regex-2026.9.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4fb41211d2333eb930a51e0546a65999761cf1f572a4da56ef9b8a62966c06f2"}, - {file = "regex-2026.9.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:edf06545875f3efa31560d94121e95c7fd70d98b1dfedc0157097d79b13b52ea"}, - {file = "regex-2026.9.29-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6398d5145689503412cc1748895242598d8846b8967b851133b20dc2ed1e21e8"}, - {file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:45010bcfe66df41522d56c9b6114e87ecc597a08970ff6a2ced24415c141ae5f"}, - {file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:a5758353650079898dc1b2b0e95aa51fa23a30d020e06f62c430dd08ee56cdd8"}, - {file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:6f7121a8914ed13fcfe2099f895341bfb789f004d4c5a0bdece8fa667da10849"}, - {file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:b9d74e4eee9ddb64c2e92d5d61472c59c21684c059eb7b68767be9628e977859"}, - {file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:143533cc4b6fbc5b95aca0a5b8d541088d374831593def000ec89322c220221d"}, - {file = "regex-2026.9.29-cp310-cp310-win32.whl", hash = "sha256:b84f186a7f0536fe4ff9a9fa12d06d007b9b71d4b5352ddcc41f59ad6522a312"}, - {file = "regex-2026.9.29-cp310-cp310-win_amd64.whl", hash = "sha256:23ae6fdad9e63e54038f5ef78aba2933faca61e24d432786589e737bc5522ebb"}, - {file = "regex-2026.9.29-cp310-cp310-win_arm64.whl", hash = "sha256:c0094897d7d01f184b2d7fe8c56c66d64efe01b31f4b7d34205b391387df1111"}, - {file = "regex-2026.9.29-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6abb75ab16bc3281714a5b99548a2225db70dba1f995f6d7f7419b76eb5a8fbe"}, - {file = "regex-2026.9.29-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b7b893976e7fe42053da64f2aa27239c24252fd2ec6df471e1be197c0addc3b1"}, - {file = "regex-2026.9.29-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:066d0e3dbfdd739bce2bf8c2a41dd16f73e3d8adc2eb06dd803a36a307f56075"}, - {file = "regex-2026.9.29-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7020ed44df30b3aa492c00ee3b52d0548c1f30c2c6c5bb13ae897680900d3413"}, - {file = "regex-2026.9.29-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ae4613d7d9dda60fcba95f846cc6f808017f1843f392cf9daad14a6534493d71"}, - {file = "regex-2026.9.29-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bec37990e3d6121f29ecfb594bd8f1bf009e9f7926daba2e50e3b27d3892a783"}, - {file = "regex-2026.9.29-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:612b709381c0355b70d89cdb51b7f670591ed5cbbc0e3b5337488019dc667b65"}, - {file = "regex-2026.9.29-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a760da040b47767b4b873adfb7c3b691e9ba2fc60f113f9d0b88f1a62f323e85"}, - {file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:49ee178ca31c94621294bf9b8b676a92a2e6bba8af0529591753719e57edb621"}, - {file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5eeb8edc6110d9194a4d0d54610f64c37a31c605b5dbb7e407fc6ec7fa34a4a1"}, - {file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ccb64d887a9db1cd76dbc0f92051a1a478a2a67e7f56c62d915cb881d7734704"}, - {file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9e4482589065c8ecd761cff522dcd85f2d39e62f551e37e025d1c7d54772def3"}, - {file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d60030baaa7bfbb02d650c126cdcddcb6e33dbff14d819434c8fa2fdcaeeeba5"}, - {file = "regex-2026.9.29-cp311-cp311-win32.whl", hash = "sha256:18ae8eed4526e35bdb754d61562b90bf5c00a67fdcf3cc1380dd59597486631b"}, - {file = "regex-2026.9.29-cp311-cp311-win_amd64.whl", hash = "sha256:1043aedf5917caa861bcb25a9c11460049656bdf0017a90a309fa8f255467725"}, - {file = "regex-2026.9.29-cp311-cp311-win_arm64.whl", hash = "sha256:352cf115a810b357caa35193ab656ecf5ef41056855e82f292c99e8514f8d954"}, - {file = "regex-2026.9.29-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:dc79d36d0618752265f0d575915bdc5c5130ecb9c9f6b3bcefeae32e4bdfafcf"}, - {file = "regex-2026.9.29-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3a21a9509d0ee88e7a70e1ad228cd2f0e0fd1e187458db132e8a8d18c97daf9d"}, - {file = "regex-2026.9.29-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f57dc6b8fef170f105d2cf5cdce254f47b137d7755086cf7050f47e16582abba"}, - {file = "regex-2026.9.29-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f93bc1c3486ef3747e07c9d7c1d0a147b8fbaab975f80e348aed6f71309dfaca"}, - {file = "regex-2026.9.29-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e1d3a4cb7993b708f0ada8d0c84590efd853f169e7147d2202c9da503180242"}, - {file = "regex-2026.9.29-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dabee8f4935e731fb46b2a3091bdda0d3d94b3bbfb907d2b4f12eefce4009619"}, - {file = "regex-2026.9.29-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39ab5894d971f9ac68baa6eca5c50387db579cfcacf36ae8df3feceb1815e6d0"}, - {file = "regex-2026.9.29-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c1a9a6651197fbed6f0212591418b9def774fc3f8324f78d1bf0e6a63e5f8aa1"}, - {file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87fb80cbe3557e27e7b28b995c2b2eedf689b8886f941ab93e0e288f0976518a"}, - {file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:3c5c2ef13797466aa64170cbb66ad98a32351dd4127694cea7199f80f213750d"}, - {file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:59b49507f47479e299a9e1bc41b5cb83a7afda0540625f1dbae886615978acbf"}, - {file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:0dd8af32e9f7b56b7f95cc1fd79b23054c3bdc172392ae560acc24d57b7ffe71"}, - {file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:db5e82ba15c142425b8406690032df89e39cca4a2e8afbbb9a3d84edc2373ac3"}, - {file = "regex-2026.9.29-cp312-cp312-win32.whl", hash = "sha256:d0c3082bf79bcd6a614d55916590ad4b8f93200e10b97f463ea5d9d07c9b5f23"}, - {file = "regex-2026.9.29-cp312-cp312-win_amd64.whl", hash = "sha256:fdd88ed5e20b1bcdd234421e454962c971aa44b653bdb7f1ea9ef683e90fb649"}, - {file = "regex-2026.9.29-cp312-cp312-win_arm64.whl", hash = "sha256:4fe97894d1b306c919b4e50def1e6f6c522f4d03a7283811f4d108f1ce5d3ac2"}, - {file = "regex-2026.9.29-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f1a0d5117230dd46b399a30a38afa44f79c99f3168988fdc4f425c3f928b39df"}, - {file = "regex-2026.9.29-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f0fe9834e5aeccaf19a0d8feb296d66a24be1a7c9922002f842a682cd5abb787"}, - {file = "regex-2026.9.29-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c90fcf7804ea0a54b896ce0f2b9565350220b8d4890fd0db461a476a4c687963"}, - {file = "regex-2026.9.29-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e11edba5bc344a32b029a7af9d4b3173982dd79eeafa0b9dbd787364414b0509"}, - {file = "regex-2026.9.29-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bb90e7177944b6684738c1fc36aabd2dd00d1de3be7dbe09f91e196f1bc0dc81"}, - {file = "regex-2026.9.29-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d06fcdecc10fc7954d7c8f27a03c96055fe525274dc84a7b0dbdc3d6b9e03dab"}, - {file = "regex-2026.9.29-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d49c18f1ea294cf4adde2e5ac256e98c82ea9d708462ce4bf799dffa7cfe8a2c"}, - {file = "regex-2026.9.29-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3e778bfccd63075167709136afbc251c1f683758d5bf49c803c60ac3f894ce6b"}, - {file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:686ac5350fceae63830bb98805fcb8039325bf4c06d9f6f048ff65229d5bffa5"}, - {file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:26ec4ccce55aa533fbd603d08911b01101a8fcfec987845ac3ae2c7087b2bde3"}, - {file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a655d34b2a6943af32401f3d94f72e9d731f6ad16285815550bf2b4ee69d420a"}, - {file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:0c992c19cd45058a4b92f68f139c93db168b48fb1f322c9a7cd620806afb6b51"}, - {file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ebb8912f565b8cdbbf27debfe00df04202c20e2f651b9e32767930c5eace3621"}, - {file = "regex-2026.9.29-cp313-cp313-win32.whl", hash = "sha256:4d7d93613b01b0199961330e49cfc52d479b3d5776c56c691db31130c0a07d91"}, - {file = "regex-2026.9.29-cp313-cp313-win_amd64.whl", hash = "sha256:61956f074ecd123f55adca68ee3eab46e6a07ad3f8e64e6db95dfacb444f55c4"}, - {file = "regex-2026.9.29-cp313-cp313-win_arm64.whl", hash = "sha256:bfc71e6d970419c1309b3640305298643e2a734cad3f7cfb6d2ddee4175ab53d"}, - {file = "regex-2026.9.29-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:957bb708e8057ab1649ba566456429d691ec9b90d1c9ad1af1ba7ffbbeaf05f2"}, - {file = "regex-2026.9.29-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9b602fae1e00b7c035d661ce85575365719192a7b46784bd71cf64c68053aa0"}, - {file = "regex-2026.9.29-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0166844493626c5015c6088ee15c9ca2fd060ca15b7641d1657da6a58432ae33"}, - {file = "regex-2026.9.29-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b97a38fb4c732b6832db6bf108963adbcd82ef1268ba2025dce390f45af75efa"}, - {file = "regex-2026.9.29-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a540abfab208e1b7ef2df231c40ef3b6cbb30a0aad6204e9b6a81c10a6794628"}, - {file = "regex-2026.9.29-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ddfa987262763c3c22a8367d2a49c244b018a74c3a8e3ab1a864119ad45c5633"}, - {file = "regex-2026.9.29-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2f7f7aa47b229f2b39a2ae2596d2ad5625d77b5eb9856fac2dab3eb506cdd0a0"}, - {file = "regex-2026.9.29-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d9b77b25b4f395f92de6099ab08e8ae2bc7e51dfe157f22900902243a5cc90c7"}, - {file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:34b6925af9853bf461950e6508910f179fd6e9b1a7ec8548e069606b7e51a26b"}, - {file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:addd736a0547d553283adaf4e05d7104e7f2c7b0b092e9b4d28756825f14531f"}, - {file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fe3fa1dd453ed5c7f5ea23a26218329790ed7197a99b90e94330e313959a7f52"}, - {file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:0cc63b5e47c12a48d90c7e9d7de6a035dd14f62868aaedbb4e0ff8ba2b8bfe7b"}, - {file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:724184b4aafed865e4f13ca313fdcb43024300c028ec67319cfa16847d84685e"}, - {file = "regex-2026.9.29-cp314-cp314-win32.whl", hash = "sha256:c6c8fabf1dafc1f1ddcbb67896d3f93efb092e8c4b6322d7389b944e76a484e5"}, - {file = "regex-2026.9.29-cp314-cp314-win_amd64.whl", hash = "sha256:1c2a0026062abcc321a53db4a185ceba0b59a66b5d37b0808917a88b55a5257f"}, - {file = "regex-2026.9.29-cp314-cp314-win_arm64.whl", hash = "sha256:121a76a0985db80ceae9e171c337f8c927868e37d01b54e3ce87bc87f9c6a208"}, - {file = "regex-2026.9.29-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:e31f72490b7c12f7790e1e25c3afffd20503ee1bfb43461d7838b871ff244b19"}, - {file = "regex-2026.9.29-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:80ea96f5c1a30bf09007d48466521d9c294bebe197c708c3359096e3e3691632"}, - {file = "regex-2026.9.29-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:554bffadcbcb6d5f4e5fb10a61cc52084b9a63d1dab5f10bcd2c4343972e8e2c"}, - {file = "regex-2026.9.29-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:864e9b87ac33c3fb9fb4ad48166d4fdb579c351d5c77deb0d34bccb36a775cd9"}, - {file = "regex-2026.9.29-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:044265d77d94f5e3cb2fd72c76723807c429cb8c533e9d4672d0334a6f14f588"}, - {file = "regex-2026.9.29-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2089fe39c406784d90101c726755ffa1497bb74638fd434300d2b88006186de8"}, - {file = "regex-2026.9.29-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0def9fb6abac55492d6d51cddb7225d07d6f279e774e0adc08569a54a5fc8d46"}, - {file = "regex-2026.9.29-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:888d60953908dcf761aa320c3e390ab8556efbdb551ace63921de90f6ae0848d"}, - {file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ed511a0708e2297e1d6431e7fb217e3402791e491e02da800658ace4973df1bb"}, - {file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e1172147d28d8fbcf8cb8d26c41506169f5ad8fe9ec969cb116835a19d4d8eca"}, - {file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:92f05c9c42bde5785dc48770bc2194d9f7442544156f951e19cd31b096cec562"}, - {file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f37964e4a5e993d2fd45147741e9dff7f34a2d8c00ab94c4ea0514a4677f959e"}, - {file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:951733b1bbdb71e377cec567b409f1a7881b47cfcad84121aa74cb575fa425ea"}, - {file = "regex-2026.9.29-cp314-cp314t-win32.whl", hash = "sha256:65b408d8fcb273e3499e7ef2ce796810da1becd208c7fb4373692a242d79d461"}, - {file = "regex-2026.9.29-cp314-cp314t-win_amd64.whl", hash = "sha256:bf48516e35cf848390ea68850aba53e7c333720d2945b4d2c25b69fc5171723f"}, - {file = "regex-2026.9.29-cp314-cp314t-win_arm64.whl", hash = "sha256:9173db3be74a35cb6731701094b98120f7ee4876a287882a59cdea1fa7da342f"}, - {file = "regex-2026.9.29-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:c3589f40749acce747510bf5d589d54e376cb0930ea58b35effac97e5312b0c1"}, - {file = "regex-2026.9.29-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:32ab11df9677ca80bcbb5fe4eb1da9109a5019239a054836efc6fa1c64e683cf"}, - {file = "regex-2026.9.29-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:7c03031610e3e6ed1768a2b7a8fc84637c1257b50c5eacaf094c6e17a84fc563"}, - {file = "regex-2026.9.29-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:42e82e578c904445d4c8a35b8f28052cf567593215fa5db06266fbc6f77aaa2e"}, - {file = "regex-2026.9.29-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0b65c72739f981377c9c22e0c5c3cd7f42da7bd8a3c9209330fac772c7d893ed"}, - {file = "regex-2026.9.29-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4408b2b27a95ca8cc48b7411945753773353b5c93b307754781086c99d3a576f"}, - {file = "regex-2026.9.29-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a714befaacbd10092ffe4cea0d3c5f008fb9efe9bc322c715bcdfdee414b9a3d"}, - {file = "regex-2026.9.29-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33026515aebc0e70d1c89978e53e8d695d35d9e472f8d5b34465ba3c74028650"}, - {file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:31b003f9a070335e2a8233ee9b14a3ca8e6d792012ae011f741bf0aaf11744c5"}, - {file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:c03c6eb6ece86dfdcbb34799efaa339b093132e1aceed491ba5e08fe06cdf699"}, - {file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:a5300757f8a68f5b6cc33f57338d72a0e3589c5cc9ad5f8504ea06f028be582a"}, - {file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:80c7cadd3fd2bfde5df8aa0787e315812cad0c313a753095d02f4c2b6c01677b"}, - {file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:3f1e6cb402a89457582cd696f982559217d13484a193202c394015297968c86d"}, - {file = "regex-2026.9.29-cp315-cp315-win32.whl", hash = "sha256:a64b85a4760337cfefdb27d42da6ed8b58e8cde3f2d57b6ef43e76ef6ea9ef47"}, - {file = "regex-2026.9.29-cp315-cp315-win_amd64.whl", hash = "sha256:b3e445b66c80b4eb4234e855ce94d9adc183eedbd632816228d89930b91b2c5b"}, - {file = "regex-2026.9.29-cp315-cp315-win_arm64.whl", hash = "sha256:8f39588af4731c8923c26810eb3b33f76f17633985e40f59c3cd45a33805a895"}, - {file = "regex-2026.9.29-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:fb99cc9d45f48895d9d67f6a0b8a57f08d39c174d9f25ad97a313e0470267b1c"}, - {file = "regex-2026.9.29-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:720537c7ea6f80dc61913184edb0ce2497a306b39ef19f28505b322553d52bdb"}, - {file = "regex-2026.9.29-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:0fd2c901cc307a745ad4bc87f20060d7a0825a3371d1e93488af22e7a387f78f"}, - {file = "regex-2026.9.29-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b11b589e00095ec69cf79841a76360f9b079e95b0368a25b5ebb951ab0c157ff"}, - {file = "regex-2026.9.29-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d7cab119d0df0b9413f106b4d7fc34f2872d3574ed3806fb48959c830b1537da"}, - {file = "regex-2026.9.29-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b89efc38431793d28b7cd91227e2f952ad7c48df19132b17f43a5fec3c14143b"}, - {file = "regex-2026.9.29-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:80a5ea3b4fd9d6a5b9a44f7976a9acaaab35aa3c1f6b29e5bd857dfabaded223"}, - {file = "regex-2026.9.29-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:19959129885356df0e97556856f77eb2888380dac18bed075a7c05c5128c618d"}, - {file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6a1a824fbed817e0a891103886b68f063b1e83cc51bc97192a90a60195a9291f"}, - {file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1ba8c6a416569ce0d37e83e28a254a61dc99a419084dfb6476cea02d997f74fa"}, - {file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:446654b29bfaa30500d80947eda42cef1449dc8a87f4e3cf061cc8485d3a1f0b"}, - {file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:bf3c49863c23a1ad6da9c30351aed6cff8d5ddbeb63c5c8420ae54e98c7d0138"}, - {file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:01000ddf0e3ffef97f2413ceb514f6313040106b6d18a03ee00a4fe35c1eb1db"}, - {file = "regex-2026.9.29-cp315-cp315t-win32.whl", hash = "sha256:c4e38dd8f39c43a91d2410ad2b85610701b0979342c3df1d69eaf8e838c757d8"}, - {file = "regex-2026.9.29-cp315-cp315t-win_amd64.whl", hash = "sha256:e2c89e9b762c57f59d5e99ee8b20202adb892e35f8d3485741340999ca55058e"}, - {file = "regex-2026.9.29-cp315-cp315t-win_arm64.whl", hash = "sha256:e8c65ef3862a8ad6e86492b6ed9327805dd66904c012bd3649dc67d822ed6c34"}, - {file = "regex-2026.9.29.tar.gz", hash = "sha256:8b5fcc4771732191b2b7d1dd68d8f0353f47f8d90b6150f6dce58bf1112442cb"}, -] - -[[package]] -name = "regex" -version = "2026.11.24" -description = "Alternative regular expression module, to replace re." -optional = false -python-versions = ">=3.11" -groups = ["dev"] -markers = "python_version >= \"3.11\"" -files = [ - {file = "regex-2026.11.24-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9b855b2002b542f85e08f0c41ba37ae63402d0fbb9147fe6c338b88e75b68330"}, - {file = "regex-2026.11.24-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f55e6317f2a875aeef4db773b9b016b090a920481bc03404eb49b39eb86e1193"}, - {file = "regex-2026.11.24-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:baa155ac145d60d4d57b0fa65de59d4267d600379205195899c1235d74e25d94"}, - {file = "regex-2026.11.24-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ed523e07cb9489e413c1867026f82d8546587bb3546418ceaad3de6ef799fd70"}, - {file = "regex-2026.11.24-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:93c6590b918856f01f99fed2cf9b59d7d6ad4db3635a3bd8a50e18792f88032b"}, - {file = "regex-2026.11.24-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:90827525ad9bbc56b1bb8ad24fd5b9ab96ff187880520b4d930adce1fee49631"}, - {file = "regex-2026.11.24-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d201fe141de0c8225313f6fbed00819e30095a321f5a6582b72ddd3d5fb726b"}, - {file = "regex-2026.11.24-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f4d2bfa5e6af067cdecf9d6b69578a6af153b6c630c4079fd92708743fa89d3d"}, - {file = "regex-2026.11.24-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5ac3de40880c6b2a1b1f4761549a3ee2c1ddcd7551ee2db8596057e9719d4f7a"}, - {file = "regex-2026.11.24-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:442d2ab478be0bd71ea710d61b6de739910e6349b766c9909ef516b37506ee2d"}, - {file = "regex-2026.11.24-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:fc59c7037af012548cbd03d024b5c4cf86b49169b048ab0647fe9ce26d1f970c"}, - {file = "regex-2026.11.24-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ab323b933741a088ffa1d203d24d77a39077e02981aa230f797d4c310b58dae8"}, - {file = "regex-2026.11.24-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:4350c9cf6c7440a2a7a5aca74f0cbd8838b9fadaae7e5c6287d63d198343f412"}, - {file = "regex-2026.11.24-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ef130daf32bb60cb1620b1ff9f6fc2fc69c6350f66368a8fe40ad782df5b0175"}, - {file = "regex-2026.11.24-cp311-cp311-win32.whl", hash = "sha256:a1e9beb1f5f7ed4ee9c38b58054c44947d6abe027989cc7e528fbbc129cb5fca"}, - {file = "regex-2026.11.24-cp311-cp311-win_amd64.whl", hash = "sha256:31d259ddffae48a8f062c97ac59f7d899faf607d8b981e3db30c46811ed048ae"}, - {file = "regex-2026.11.24-cp311-cp311-win_arm64.whl", hash = "sha256:9a2f35874806c8be234e7c12c1cab612b821241b89953a4967b27dc806aa2fef"}, - {file = "regex-2026.11.24-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:2e0174cbe243a1cfcbba8415e81cabed55ac8efb04d16b7ad1f95d0aef70577b"}, - {file = "regex-2026.11.24-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a99a538ff642c7663f36b83411ab892971f258120741e976c21a9243aeb236c2"}, - {file = "regex-2026.11.24-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4a8721414a1b6314712f7d14decca8cdd04b6729277b83ef40bee5385743742d"}, - {file = "regex-2026.11.24-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9156eebdd717b3904ced2542162a8e2b31d96cfafc72faf35b5cac23f506be4e"}, - {file = "regex-2026.11.24-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:96293d606492247bc202405ce37e47e06c67d8bdb5602e2bb1b09167fdcd1c0e"}, - {file = "regex-2026.11.24-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:998957bc18ff633dd2b6e07366694a5697575482c19ed07dceefbb5603fb03f5"}, - {file = "regex-2026.11.24-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0778f76a63e677ef022087a6a49c9b82de9bb1916bd7402a25abfe9f66bdd97f"}, - {file = "regex-2026.11.24-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:841c9b9ebfa6b728b057dd6b0b2634116521d4474193d217de3b70e86a5558db"}, - {file = "regex-2026.11.24-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bcac3ff7af761994e6ae1141af89fc97fa8b69918a36926a9479ceeef9f34c22"}, - {file = "regex-2026.11.24-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:476929fa2a37256ffc42a47816edc1b065fd3361577abe4af55555a3c0f0427c"}, - {file = "regex-2026.11.24-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e729da8b8739e1181c0be3a453a34942832a8884857b4ce531bc2495947a2273"}, - {file = "regex-2026.11.24-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:228b7d9f43ac22f83749dfbe1bf7e44ebfb6d024d3c0bd3bc63869e74d487a51"}, - {file = "regex-2026.11.24-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3ffc2fd4230ea139c9a8e4fe97d559c5ac1ae7cdf3cd0f489d5d2053b219a310"}, - {file = "regex-2026.11.24-cp312-cp312-win32.whl", hash = "sha256:0b286ff0845c8a9e0e404d15c26dced819fc5e57d4737a2add2fc6ee225d800a"}, - {file = "regex-2026.11.24-cp312-cp312-win_amd64.whl", hash = "sha256:4ee28b825b3544872b1c42914709a45ddd378154c7e58df1cf8a732134e315b2"}, - {file = "regex-2026.11.24-cp312-cp312-win_arm64.whl", hash = "sha256:7d613f0aa4fb65d667d94896dfac68e224f279c5bc7842a5d2e54195c32716fc"}, - {file = "regex-2026.11.24-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d6bb724076f2e9d184354765ba9c03e9cd3b780a236dd6691b88fa7dfa43c499"}, - {file = "regex-2026.11.24-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f50c4026c75094f5bcef9608daf080104b08998226f74265d9dc06ab7684db09"}, - {file = "regex-2026.11.24-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f2824fc17c2eb3e209df31fb4b153273aeae6e2f3c5a9972b5e235edf86ea909"}, - {file = "regex-2026.11.24-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fc93edd3c18866c13f1067a635f9d5bf05c4a2f0d6f9658513d1abdbb0b0a901"}, - {file = "regex-2026.11.24-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:99feefe28991168f41744ef986942818dee453d3621d28063b8b8de128315be2"}, - {file = "regex-2026.11.24-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b94ce459120d2bc2f3adbbde3fb59a90c0d6e6cdfda9397d7ac071e794ac6b00"}, - {file = "regex-2026.11.24-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:da3551982678fb296b98de06a2b1a425cb0314437537ace7a216a516646db17b"}, - {file = "regex-2026.11.24-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7620dbee6edd20574436296434567f23e880eb87361f2236ff043091d4e7d507"}, - {file = "regex-2026.11.24-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2ad21bf32068af834905fc8a981172dbba5df41eec9908b91c6864f1891911a7"}, - {file = "regex-2026.11.24-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:0580750e73ba4cd0f06b7d608da9ae0f6279b68c175ff7ae218f43f8f328387e"}, - {file = "regex-2026.11.24-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:828032136a7ff86815bf2d206524645b8146b3b1ab090212b9dd80566409e462"}, - {file = "regex-2026.11.24-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:12c0a0aad056233abdbbe6c7144d7f36364c36f488dc04cc892dca70bbb135e5"}, - {file = "regex-2026.11.24-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6a677b869ae1a9e39553a3c1dc1e5c28a0589f3230f4aa9df08d3c7a2056b391"}, - {file = "regex-2026.11.24-cp313-cp313-win32.whl", hash = "sha256:2e4866a27a9681f54f47d3c60ca4029f2fca8fe6e7943a041db5b8d48715504a"}, - {file = "regex-2026.11.24-cp313-cp313-win_amd64.whl", hash = "sha256:e8e36c76fc1a300ec66e4abd5c676c102078ea8142d9d974b43a6766f737f698"}, - {file = "regex-2026.11.24-cp313-cp313-win_arm64.whl", hash = "sha256:fb80afcd5431e6b8b26124324fec7dc870dc4dbf85d2c126af9d01b024afb6c7"}, - {file = "regex-2026.11.24-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:5f05a5eea08ba9edc5c8a43be1dec79065501813fb3b092d82a4a915cd9910fc"}, - {file = "regex-2026.11.24-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:69e74c39993974adb469eb219bd7ad2a279569bfa1e3a7f6b3ca191101cf1013"}, - {file = "regex-2026.11.24-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:12b347673e50e773ec51f7682b3d015e2a89e3d6a1d626b4e8a925bea8838472"}, - {file = "regex-2026.11.24-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c0d25b5a9c8d45c1a097880b63879a3e7738cfbe6ee1af7f00cd6be30490419"}, - {file = "regex-2026.11.24-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0cb7002f0f4dc42919dfff1dbbe1d318e33376afc7cc6bdd7cb69b0f1b2e9d8e"}, - {file = "regex-2026.11.24-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:559e439c06dd75874b67b9982c180cb435fc22f6e9e4109604eb81341710e92f"}, - {file = "regex-2026.11.24-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:80da5c9043fac73a95cccd68e5eb3afb88bc7c531670e6245adb4a95690890de"}, - {file = "regex-2026.11.24-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b2374264b5472d632b25989149bffede3aea3948afeb48e6975cea61f640ab4a"}, - {file = "regex-2026.11.24-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:cd5bd4766dac9c30d6e92210ba5301d55bec21c9e5b2bcc5e7e6a5ae6c196d71"}, - {file = "regex-2026.11.24-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:0ea6d8bb0e2bf41d75852acbce1d8de3ac05bfd39f7eb4f170587a298d61d9f6"}, - {file = "regex-2026.11.24-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:74cdcce3e9912792162a5a83491edcd6d5eec819c5c6dcee537a815e8dc957f3"}, - {file = "regex-2026.11.24-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:2194fbf8aa10f82473bc16bcd56e40f7535df884bfac23365478e4b3a585ed5b"}, - {file = "regex-2026.11.24-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4ce70df45905b75f0ce439ef6133b4b93e70ccfbd083abc77011350da80571ab"}, - {file = "regex-2026.11.24-cp314-cp314-win32.whl", hash = "sha256:a4a45849a343f25f02a18b519272c857c8b4b87cd840ae6a6adc1fa2b754c079"}, - {file = "regex-2026.11.24-cp314-cp314-win_amd64.whl", hash = "sha256:fda07008182139d7f88ac7a743877cf84b7f1fc02424069c0a9740cec6950535"}, - {file = "regex-2026.11.24-cp314-cp314-win_arm64.whl", hash = "sha256:ff6f55100211afc2da18821ba4cfd3186853c8c1e00ae7aba344dc6c1da83c53"}, - {file = "regex-2026.11.24-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:9fe37fb7c18b07a886fa2eb2a104334de2ed619daf17280460bcc41609b99f1a"}, - {file = "regex-2026.11.24-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:1efef1255a4b36761d1b04310776d9927a2deb5d06f062fb60fe3fa19f0c8700"}, - {file = "regex-2026.11.24-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1db6b14b1b0cf843fc973af1f8ac82ebc88535fdf9f02a35a3d1a552dde14ead"}, - {file = "regex-2026.11.24-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fe9bb652571840bdc827202a345680eee35e85a4c71167725bf423edae7546a9"}, - {file = "regex-2026.11.24-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2e3b9fc704a9c0b2c729833a0669a929ec6eeb699c03e8b25ffb871555e656bd"}, - {file = "regex-2026.11.24-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:76a1200a3371a108cb67e61769e13ff88c4ce7b88a457a7f456b0cef47d958e6"}, - {file = "regex-2026.11.24-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:899b565e220fb0d5711e8e07fed2cb9d3befb05900bc1950e03d936713c0451d"}, - {file = "regex-2026.11.24-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e83c6f2b4ed6043cdbf492084e596a6eb1bc4d5097c002b2e4a9b2d462190853"}, - {file = "regex-2026.11.24-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:68c81d8d7caca7998430874fc374a90ae09e0016fd1c095c3bc8a35fb00167a9"}, - {file = "regex-2026.11.24-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:6b9efccf0a9025c34e9d051b1e948b9c2174a0ebc5e56876099563961686e6bc"}, - {file = "regex-2026.11.24-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:6f0314bf55fc9b77eae5aaed6757627e67f7a8d8649b056d9b53d7fad71d45a3"}, - {file = "regex-2026.11.24-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f328880962275463332366ace7d364c0733e656ec5d8335dbfdd16ebb423c36b"}, - {file = "regex-2026.11.24-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:55e852a2e96dae99dcda961c8a930d77425d2736b44484b40fc0a818f270e573"}, - {file = "regex-2026.11.24-cp314-cp314t-win32.whl", hash = "sha256:cde6c48afec3d16829bce056de7e7665442c8ac14251a9bd452228194c3f4d04"}, - {file = "regex-2026.11.24-cp314-cp314t-win_amd64.whl", hash = "sha256:78e3f9051115fa8af65744bf3241ecf2609ff5cf12cda0898b976b7d5ff65da0"}, - {file = "regex-2026.11.24-cp314-cp314t-win_arm64.whl", hash = "sha256:df5f854382a2929461b899b6395ee2f54491ccf72f07336dd41cd1be659a8f94"}, - {file = "regex-2026.11.24-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:62597349b316eea387f037568cb3fee617c527b6e75a64b8e5cb94231712904f"}, - {file = "regex-2026.11.24-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:ba9477e2f1b520adfedabb96be823757b6061cfa332f14740ea7540291b01cc4"}, - {file = "regex-2026.11.24-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:7ebce399682577093b5bf50db2bba4b2ff15b78448ded685f8f00d58f9fbe72d"}, - {file = "regex-2026.11.24-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:33295233097bbaf60f2ddc07685e85964b723b2e11575cb0e31a775e3ed79a9d"}, - {file = "regex-2026.11.24-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:05b871f5b9f6b654c940595221040494765f9ad5d03410df6673d5554c5464f2"}, - {file = "regex-2026.11.24-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:44ab04e97b1b866ebc879deabcd3a61fff14b74a3c720686a4423d6200ab808d"}, - {file = "regex-2026.11.24-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0afab96781223261fb1505ee2e3df753806ddffbf9bc334e6b4e30840cda7ab1"}, - {file = "regex-2026.11.24-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a6959ed832d0d20a0639ed0195446176187f995151576dcb4ba185c7accbb021"}, - {file = "regex-2026.11.24-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:ad83a213334a27de53cdeb5c5b25ec1dea6f54a4268a793dc730d7143f147e9f"}, - {file = "regex-2026.11.24-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:6c672eaa003dbd9174d7e4f27d3592fc7326b6a17981eec593e90b69d64d417b"}, - {file = "regex-2026.11.24-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:a816f65d54348d9ca9b1746428098e8a41ddf3fa8d853754b5ae357182e1195a"}, - {file = "regex-2026.11.24-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:2c53eb45db309bc6e531aea246fd92ba3b57baedc7188e49b0bee43430f4502f"}, - {file = "regex-2026.11.24-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:68066277cded2d687cea99474d1724a8c31d19dd0b69ad7f4336164beea87f70"}, - {file = "regex-2026.11.24-cp315-cp315-win32.whl", hash = "sha256:b5ee3afd4adac4b709c5eae7f0a8c0ab7a88885e0f40e9bda4eca2fe4a4c5237"}, - {file = "regex-2026.11.24-cp315-cp315-win_amd64.whl", hash = "sha256:9a84d67cc821ed433f7d411f45741fc4ff3fd1b58aa02ee5241120e8b15fd651"}, - {file = "regex-2026.11.24-cp315-cp315-win_arm64.whl", hash = "sha256:08ecd98031b7a7a55b61de92c298b2a6f98ea14b99ed1d03a1450ec161f33762"}, - {file = "regex-2026.11.24-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:cf80daa2effc794ecc7781e3a7202bcaf01b9e139ca25083bf196f5f756e9c45"}, - {file = "regex-2026.11.24-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:3b355929d4e71c102d1931db888fe79caa4d6047839324c03c55f6b9aae4675f"}, - {file = "regex-2026.11.24-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:37ae38da2eeacd69167dfc493cbf9fdb53af23b5ba5dfb3077922354f94a0da4"}, - {file = "regex-2026.11.24-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8e69d533a2343028ad3aa580d8139f94b6673e849472d55d6e5bf0c90c43cba1"}, - {file = "regex-2026.11.24-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f176ba0e48162e049028e789ec7cbe278b7024f73f68a2a943d4b7782757b7e5"}, - {file = "regex-2026.11.24-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:009a626b0ac854a02d0978c4ffc1bebc97d9d9bc37126bbb2a97e6e679c29286"}, - {file = "regex-2026.11.24-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ce131b99076d6e592f9ceb1526862b8bddb321244e2db20c278226fbb6fd2c44"}, - {file = "regex-2026.11.24-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:db3333d246d4658cb52e2c4f6e73cf13096a52c645f31e5fd6c4cca4c4bea42b"}, - {file = "regex-2026.11.24-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:aefb8178f29e83483fb145fc22db0b29f52a70c87d0505be6e9f613674a08ca6"}, - {file = "regex-2026.11.24-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:6e0189e5154747a7596995202802b121061444499faf951f5d2157cd3288a250"}, - {file = "regex-2026.11.24-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:65f8e27cfc2ed50a18ff01e944fe21984b20e96722183d69c4f9f039dfe1f4da"}, - {file = "regex-2026.11.24-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:e0ceb77e1da21bb91ff9ab9b36dc1fc1067cf7651e22ecf0d0d5ad377b615a7c"}, - {file = "regex-2026.11.24-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:b91d7c5023bddfa6983a63eb318b8d0c782b164c2c9328a34579a6b7e2ff23a5"}, - {file = "regex-2026.11.24-cp315-cp315t-win32.whl", hash = "sha256:b1cbb75f9c5aacbf4e38db3bb3d1bbaa14f7f49b3ee444a654d2e2512fb0bb5b"}, - {file = "regex-2026.11.24-cp315-cp315t-win_amd64.whl", hash = "sha256:65946365631c77a57ecadc99f10f158ba0149a42279f0bedd3f4520aeb9ff11c"}, - {file = "regex-2026.11.24-cp315-cp315t-win_arm64.whl", hash = "sha256:3338eb86ba7294b59a6c31281e8f50db75eda9f9c76991052577c6aa5f14954d"}, - {file = "regex-2026.11.24.tar.gz", hash = "sha256:07f222de81cdcfd39eef8671e92d14f50f61f1666f756659b0e649cf700b1b10"}, -] - [[package]] name = "requests" version = "2.32.4" @@ -12173,18 +11900,6 @@ webencodings = ">=0.4" doc = ["furo", "sphinx"] test = ["pytest", "ruff"] -[[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" -groups = ["dev"] -files = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] - [[package]] name = "tomli" version = "2.5.0" @@ -12409,57 +12124,6 @@ markers = {main = "python_version >= \"3.10\" and extra == \"research\"", dev = docs = ["myst-parser", "pydata-sphinx-theme", "sphinx"] test = ["argcomplete (>=3.0.3) ; python_version < \"3.12\"", "argcomplete (>=3.5.2) ; python_version >= \"3.12\"", "mypy (>=2.0) ; implementation_name != \"pypy\"", "pre-commit", "pytest (>=7.0,<10.0)", "pytest-mock", "pytest-mypy-testing ; implementation_name != \"pypy\""] -[[package]] -name = "typed-ast" -version = "1.5.5" -description = "a fork of Python 2 and 3 ast modules with type comment support" -optional = false -python-versions = ">=3.6" -groups = ["dev"] -files = [ - {file = "typed_ast-1.5.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4bc1efe0ce3ffb74784e06460f01a223ac1f6ab31c6bc0376a21184bf5aabe3b"}, - {file = "typed_ast-1.5.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5f7a8c46a8b333f71abd61d7ab9255440d4a588f34a21f126bbfc95f6049e686"}, - {file = "typed_ast-1.5.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:597fc66b4162f959ee6a96b978c0435bd63791e31e4f410622d19f1686d5e769"}, - {file = "typed_ast-1.5.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d41b7a686ce653e06c2609075d397ebd5b969d821b9797d029fccd71fdec8e04"}, - {file = "typed_ast-1.5.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:5fe83a9a44c4ce67c796a1b466c270c1272e176603d5e06f6afbc101a572859d"}, - {file = "typed_ast-1.5.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d5c0c112a74c0e5db2c75882a0adf3133adedcdbfd8cf7c9d6ed77365ab90a1d"}, - {file = "typed_ast-1.5.5-cp310-cp310-win_amd64.whl", hash = "sha256:e1a976ed4cc2d71bb073e1b2a250892a6e968ff02aa14c1f40eba4f365ffec02"}, - {file = "typed_ast-1.5.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c631da9710271cb67b08bd3f3813b7af7f4c69c319b75475436fcab8c3d21bee"}, - {file = "typed_ast-1.5.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b445c2abfecab89a932b20bd8261488d574591173d07827c1eda32c457358b18"}, - {file = "typed_ast-1.5.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cc95ffaaab2be3b25eb938779e43f513e0e538a84dd14a5d844b8f2932593d88"}, - {file = "typed_ast-1.5.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61443214d9b4c660dcf4b5307f15c12cb30bdfe9588ce6158f4a005baeb167b2"}, - {file = "typed_ast-1.5.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:6eb936d107e4d474940469e8ec5b380c9b329b5f08b78282d46baeebd3692dc9"}, - {file = "typed_ast-1.5.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e48bf27022897577d8479eaed64701ecaf0467182448bd95759883300ca818c8"}, - {file = "typed_ast-1.5.5-cp311-cp311-win_amd64.whl", hash = "sha256:83509f9324011c9a39faaef0922c6f720f9623afe3fe220b6d0b15638247206b"}, - {file = "typed_ast-1.5.5-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:44f214394fc1af23ca6d4e9e744804d890045d1643dd7e8229951e0ef39429b5"}, - {file = "typed_ast-1.5.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:118c1ce46ce58fda78503eae14b7664163aa735b620b64b5b725453696f2a35c"}, - {file = "typed_ast-1.5.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:be4919b808efa61101456e87f2d4c75b228f4e52618621c77f1ddcaae15904fa"}, - {file = "typed_ast-1.5.5-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:fc2b8c4e1bc5cd96c1a823a885e6b158f8451cf6f5530e1829390b4d27d0807f"}, - {file = "typed_ast-1.5.5-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:16f7313e0a08c7de57f2998c85e2a69a642e97cb32f87eb65fbfe88381a5e44d"}, - {file = "typed_ast-1.5.5-cp36-cp36m-win_amd64.whl", hash = "sha256:2b946ef8c04f77230489f75b4b5a4a6f24c078be4aed241cfabe9cbf4156e7e5"}, - {file = "typed_ast-1.5.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:2188bc33d85951ea4ddad55d2b35598b2709d122c11c75cffd529fbc9965508e"}, - {file = "typed_ast-1.5.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0635900d16ae133cab3b26c607586131269f88266954eb04ec31535c9a12ef1e"}, - {file = "typed_ast-1.5.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:57bfc3cf35a0f2fdf0a88a3044aafaec1d2f24d8ae8cd87c4f58d615fb5b6311"}, - {file = "typed_ast-1.5.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:fe58ef6a764de7b4b36edfc8592641f56e69b7163bba9f9c8089838ee596bfb2"}, - {file = "typed_ast-1.5.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d09d930c2d1d621f717bb217bf1fe2584616febb5138d9b3e8cdd26506c3f6d4"}, - {file = "typed_ast-1.5.5-cp37-cp37m-win_amd64.whl", hash = "sha256:d40c10326893ecab8a80a53039164a224984339b2c32a6baf55ecbd5b1df6431"}, - {file = "typed_ast-1.5.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:fd946abf3c31fb50eee07451a6aedbfff912fcd13cf357363f5b4e834cc5e71a"}, - {file = "typed_ast-1.5.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ed4a1a42df8a3dfb6b40c3d2de109e935949f2f66b19703eafade03173f8f437"}, - {file = "typed_ast-1.5.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:045f9930a1550d9352464e5149710d56a2aed23a2ffe78946478f7b5416f1ede"}, - {file = "typed_ast-1.5.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:381eed9c95484ceef5ced626355fdc0765ab51d8553fec08661dce654a935db4"}, - {file = "typed_ast-1.5.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:bfd39a41c0ef6f31684daff53befddae608f9daf6957140228a08e51f312d7e6"}, - {file = "typed_ast-1.5.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8c524eb3024edcc04e288db9541fe1f438f82d281e591c548903d5b77ad1ddd4"}, - {file = "typed_ast-1.5.5-cp38-cp38-win_amd64.whl", hash = "sha256:7f58fabdde8dcbe764cef5e1a7fcb440f2463c1bbbec1cf2a86ca7bc1f95184b"}, - {file = "typed_ast-1.5.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:042eb665ff6bf020dd2243307d11ed626306b82812aba21836096d229fdc6a10"}, - {file = "typed_ast-1.5.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:622e4a006472b05cf6ef7f9f2636edc51bda670b7bbffa18d26b255269d3d814"}, - {file = "typed_ast-1.5.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1efebbbf4604ad1283e963e8915daa240cb4bf5067053cf2f0baadc4d4fb51b8"}, - {file = "typed_ast-1.5.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0aefdd66f1784c58f65b502b6cf8b121544680456d1cebbd300c2c813899274"}, - {file = "typed_ast-1.5.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:48074261a842acf825af1968cd912f6f21357316080ebaca5f19abbb11690c8a"}, - {file = "typed_ast-1.5.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:429ae404f69dc94b9361bb62291885894b7c6fb4640d561179548c849f8492ba"}, - {file = "typed_ast-1.5.5-cp39-cp39-win_amd64.whl", hash = "sha256:335f22ccb244da2b5c296e6f96b06ee9bed46526db0de38d2f0e5a6597b81155"}, - {file = "typed_ast-1.5.5.tar.gz", hash = "sha256:94282f7a354f36ef5dbce0ef3467ebf6a258e370ab33d5b40c249fa996e590dd"}, -] - [[package]] name = "typing-extensions" version = "4.13.2" @@ -13061,4 +12725,4 @@ research = ["jupyterlab", "numpy", "pytz"] [metadata] lock-version = "2.1" python-versions = ">=3.8,<4.0" -content-hash = "eab669dcf4fed564bb46b090903a94b723ab8a2276332602746d05b331d7c476" +content-hash = "3833a8828164bb9cf3cc996a1841e768c8879ebad664317d63fb8a68ad9e5d76" diff --git a/pyproject.toml b/pyproject.toml index 6352386..5400c93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,13 +86,13 @@ pre-commit = "^2.6.0" # Code Formatters autoflake = "^1.3.1" -black = "^19.10b0" +black = ">=19.10b0" isort = "^4.3.21" # TODO (isort): Not ^5.5.4 due to `wemake-python-styleguide` # Code Analyzers flake8 = ">=3.8.3" flake8-annotations = "^2.3.0" -flake8-black = "^0.2.1" +flake8-black = ">=0.2.1" flake8-pytest-style = "^1.2.2" mypy = ">=0.782" wemake-python-styleguide = ">=0.14.1" # `flake8` plug-in diff --git a/src/velofy/__init__.py b/src/velofy/__init__.py index c222122..2147079 100644 --- a/src/velofy/__init__.py +++ b/src/velofy/__init__.py @@ -5,6 +5,7 @@ Example: >>> velofy.__version__ != '0.0.0' True """ + # The config object must come before all other project-internal imports. from velofy.configuration import config # isort:skip diff --git a/src/velofy/console/forecasts.py b/src/velofy/console/forecasts.py index 605cf57..91aa0db 100644 --- a/src/velofy/console/forecasts.py +++ b/src/velofy/console/forecasts.py @@ -25,7 +25,10 @@ from velofy.forecasts import timify @click.argument('train_horizon', default=8, type=int) @decorators.db_revision('8bfb928a31f8') def tactical_heuristic( # noqa:C901,WPS213,WPS216 - city: str, side_length: int, time_step: int, train_horizon: int, + city: str, + side_length: int, + time_step: int, + train_horizon: int, ) -> None: # pragma: no cover """Predict demand for all pixels and days in a city. @@ -125,7 +128,9 @@ def tactical_heuristic( # noqa:C901,WPS213,WPS216 while predict_day <= order_history.last_order_at(pixel_id=pixel.id).date(): # ... and choose the most promising `*Model` for that day. model = order_history.choose_tactical_model( - pixel_id=pixel.id, predict_day=predict_day, train_horizon=train_horizon, + pixel_id=pixel.id, + predict_day=predict_day, + train_horizon=train_horizon, ) click.echo( f'Predicting pixel #{pixel.id} in {city} ' @@ -141,7 +146,9 @@ def tactical_heuristic( # noqa:C901,WPS213,WPS216 ) while predict_at.hour < config.SERVICE_END: model.make_forecast( - pixel=pixel, predict_at=predict_at, train_horizon=train_horizon, + pixel=pixel, + predict_at=predict_at, + train_horizon=train_horizon, ) predict_at += dt.timedelta(minutes=time_step) diff --git a/src/velofy/db/addresses.py b/src/velofy/db/addresses.py index 667b567..4fabcbc 100644 --- a/src/velofy/db/addresses.py +++ b/src/velofy/db/addresses.py @@ -37,13 +37,20 @@ class Address(meta.Base): # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['primary_id'], ['addresses.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['primary_id'], + ['addresses.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.ForeignKeyConstraint( - ['city_id'], ['cities.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['city_id'], + ['cities.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.CheckConstraint( - '-90 <= latitude AND latitude <= 90', name='latitude_between_90_degrees', + '-90 <= latitude AND latitude <= 90', + name='latitude_between_90_degrees', ), sa.CheckConstraint( '-180 <= longitude AND longitude <= 180', @@ -52,7 +59,8 @@ class Address(meta.Base): # Needed by a `ForeignKeyConstraint` in `AddressPixelAssociation`. sa.UniqueConstraint('id', 'city_id'), sa.CheckConstraint( - '30000 <= zip_code AND zip_code <= 99999', name='valid_zip_code', + '30000 <= zip_code AND zip_code <= 99999', + name='valid_zip_code', ), sa.CheckConstraint('0 <= floor AND floor <= 40', name='realistic_floor'), ) @@ -75,7 +83,9 @@ class Address(meta.Base): def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}({street} in {city})>'.format( - cls=self.__class__.__name__, street=self.street, city=self.city_name, + cls=self.__class__.__name__, + street=self.street, + city=self.city_name, ) @hybrid.hybrid_property diff --git a/src/velofy/db/addresses_addresses.py b/src/velofy/db/addresses_addresses.py index 8468a9e..33f85a5 100644 --- a/src/velofy/db/addresses_addresses.py +++ b/src/velofy/db/addresses_addresses.py @@ -73,14 +73,16 @@ class Path(meta.Base): name='distances_are_symmetric_for_bicycles', ), sa.CheckConstraint( - '0 <= air_distance AND air_distance < 20000', name='realistic_air_distance', + '0 <= air_distance AND air_distance < 20000', + name='realistic_air_distance', ), sa.CheckConstraint( 'bicycle_distance < 25000', # `.bicycle_distance` may not be negative name='realistic_bicycle_distance', # due to the constraint below. ), sa.CheckConstraint( - 'air_distance <= bicycle_distance', name='air_distance_is_shortest', + 'air_distance <= bicycle_distance', + name='air_distance_is_shortest', ), sa.CheckConstraint( '0 <= bicycle_duration AND bicycle_duration <= 3600', @@ -90,7 +92,8 @@ class Path(meta.Base): # Relationships first_address = orm.relationship( - 'Address', foreign_keys='[Path.first_address_id, Path.city_id]', + 'Address', + foreign_keys='[Path.first_address_id, Path.city_id]', ) second_address = orm.relationship( 'Address', @@ -100,7 +103,9 @@ class Path(meta.Base): @classmethod def from_addresses( - cls, *addresses: db.Address, google_maps: bool = False, + cls, + *addresses: db.Address, + google_maps: bool = False, ) -> List[Path]: """Calculate pair-wise paths for `Address` objects. @@ -138,7 +143,8 @@ class Path(meta.Base): # ... create a new one. if path is None: air_distance = geo_distance.great_circle( - first.location.lat_lng, second.location.lat_lng, + first.location.lat_lng, + second.location.lat_lng, ) path = cls( @@ -174,7 +180,9 @@ class Path(meta.Base): path """ return cls.from_addresses( - order.pickup_address, order.delivery_address, google_maps=google_maps, + order.pickup_address, + order.delivery_address, + google_maps=google_maps, )[0] def sync_with_google_maps(self) -> None: diff --git a/src/velofy/db/cities.py b/src/velofy/db/cities.py index 795fe2e..8021b08 100644 --- a/src/velofy/db/cities.py +++ b/src/velofy/db/cities.py @@ -22,7 +22,9 @@ class City(meta.Base): # Generic columns id = sa.Column( # noqa:WPS125 - sa.SmallInteger, primary_key=True, autoincrement=False, + sa.SmallInteger, + primary_key=True, + autoincrement=False, ) name = sa.Column(sa.Unicode(length=10), nullable=False) kml = sa.Column(sa.UnicodeText, nullable=False) @@ -119,7 +121,8 @@ class City(meta.Base): return self._map def draw_restaurants( - self, order_counts: bool = False, # pragma: no cover + self, + order_counts: bool = False, # pragma: no cover ) -> folium.Map: """Draw all restaurants on the`.map`. @@ -192,7 +195,9 @@ class City(meta.Base): else: address.draw( - radius=1, color=config.RESTAURANT_COLOR, tooltip=tooltip, + radius=1, + color=config.RESTAURANT_COLOR, + tooltip=tooltip, ) return self.map diff --git a/src/velofy/db/couriers.py b/src/velofy/db/couriers.py index ed3858b..f6dfbe5 100644 --- a/src/velofy/db/couriers.py +++ b/src/velofy/db/couriers.py @@ -24,14 +24,17 @@ class Courier(meta.Base): # Constraints __table_args__ = ( sa.CheckConstraint( - "vehicle IN ('bicycle', 'motorcycle')", name='available_vehicle_types', + "vehicle IN ('bicycle', 'motorcycle')", + name='available_vehicle_types', ), sa.CheckConstraint('0 <= speed AND speed <= 30', name='realistic_speed'), sa.CheckConstraint( - '0 <= capacity AND capacity <= 200', name='capacity_under_200_liters', + '0 <= capacity AND capacity <= 200', + name='capacity_under_200_liters', ), sa.CheckConstraint( - '0 <= pay_per_hour AND pay_per_hour <= 1500', name='realistic_pay_per_hour', + '0 <= pay_per_hour AND pay_per_hour <= 1500', + name='realistic_pay_per_hour', ), sa.CheckConstraint( '0 <= pay_per_order AND pay_per_order <= 650', @@ -45,5 +48,6 @@ class Courier(meta.Base): def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}(#{courier_id})>'.format( - cls=self.__class__.__name__, courier_id=self.id, + cls=self.__class__.__name__, + courier_id=self.id, ) diff --git a/src/velofy/db/customers.py b/src/velofy/db/customers.py index 513e0f3..7afc468 100644 --- a/src/velofy/db/customers.py +++ b/src/velofy/db/customers.py @@ -22,7 +22,8 @@ class Customer(meta.Base): def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}(#{customer_id})>'.format( - cls=self.__class__.__name__, customer_id=self.id, + cls=self.__class__.__name__, + customer_id=self.id, ) # Relationships @@ -43,7 +44,9 @@ class Customer(meta.Base): return self.orders[0].pickup_address.city.map # noqa:WPS219 def draw( # noqa:C901,WPS210 - self, restaurants: bool = True, order_counts: bool = False, # pragma: no cover + self, + restaurants: bool = True, + order_counts: bool = False, # pragma: no cover ) -> folium.Map: """Draw all the customer's delivery addresses on the `...city.map`. @@ -110,7 +113,8 @@ class Customer(meta.Base): else: address.draw( - radius=1, color=config.CUSTOMER_COLOR, + radius=1, + color=config.CUSTOMER_COLOR, ) if restaurants: @@ -178,7 +182,9 @@ class Customer(meta.Base): else: address.draw( # noqa:WPS441 - radius=1, color=config.RESTAURANT_COLOR, tooltip=tooltip, + radius=1, + color=config.RESTAURANT_COLOR, + tooltip=tooltip, ) return self.map diff --git a/src/velofy/db/forecasts.py b/src/velofy/db/forecasts.py index 654bb70..99abf6e 100644 --- a/src/velofy/db/forecasts.py +++ b/src/velofy/db/forecasts.py @@ -46,7 +46,10 @@ class Forecast(meta.Base): # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['pixel_id'], ['pixels.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['pixel_id'], + ['pixels.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.CheckConstraint( """ @@ -63,7 +66,8 @@ class Forecast(meta.Base): name='start_at_minutes_must_be_quarters_of_the_hour', ), sa.CheckConstraint( - 'EXTRACT(SECONDS FROM start_at) = 0', name='start_at_allows_no_seconds', + 'EXTRACT(SECONDS FROM start_at) = 0', + name='start_at_allows_no_seconds', ), sa.CheckConstraint( 'CAST(EXTRACT(MICROSECONDS FROM start_at) AS INTEGER) % 1000000 = 0', @@ -71,7 +75,8 @@ class Forecast(meta.Base): ), sa.CheckConstraint('time_step > 0', name='time_step_must_be_positive'), sa.CheckConstraint( - 'train_horizon > 0', name='training_horizon_must_be_positive', + 'train_horizon > 0', + name='training_horizon_must_be_positive', ), sa.CheckConstraint('actual >= 0', name='actuals_must_be_non_negative'), sa.CheckConstraint( @@ -124,7 +129,11 @@ class Forecast(meta.Base): ), # There can be only one prediction per forecasting setting. sa.UniqueConstraint( - 'pixel_id', 'start_at', 'time_step', 'train_horizon', 'model', + 'pixel_id', + 'start_at', + 'time_step', + 'train_horizon', + 'model', ), ) diff --git a/src/velofy/db/grids.py b/src/velofy/db/grids.py index b01a9b3..a77d4a2 100644 --- a/src/velofy/db/grids.py +++ b/src/velofy/db/grids.py @@ -23,7 +23,9 @@ class Grid(meta.Base): # Columns id = sa.Column( # noqa:WPS125 - sa.SmallInteger, primary_key=True, autoincrement=True, + sa.SmallInteger, + primary_key=True, + autoincrement=True, ) city_id = sa.Column(sa.SmallInteger, nullable=False) side_length = sa.Column(sa.SmallInteger, nullable=False, unique=True) @@ -31,7 +33,10 @@ class Grid(meta.Base): # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['city_id'], ['cities.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['city_id'], + ['cities.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), # Each `Grid`, characterized by its `.side_length`, # may only exists once for a given `.city`. @@ -47,14 +52,15 @@ class Grid(meta.Base): def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}: {area} sqr. km>'.format( - cls=self.__class__.__name__, area=self.pixel_area, + cls=self.__class__.__name__, + area=self.pixel_area, ) # Convenience properties @property def pixel_area(self) -> float: """The area of a `Pixel` on the grid in square kilometers.""" - return round((self.side_length ** 2) / 1_000_000, 1) + return round((self.side_length**2) / 1_000_000, 1) @classmethod def gridify(cls, city: db.City, side_length: int) -> db.Grid: # noqa:WPS210 diff --git a/src/velofy/db/orders.py b/src/velofy/db/orders.py index 3fc60e7..f12bfa7 100644 --- a/src/velofy/db/orders.py +++ b/src/velofy/db/orders.py @@ -80,10 +80,16 @@ class Order(meta.Base): # noqa:WPS214 # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['customer_id'], ['customers.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['customer_id'], + ['customers.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.ForeignKeyConstraint( - ['courier_id'], ['couriers.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['courier_id'], + ['couriers.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.ForeignKeyConstraint( ['pickup_address_id'], @@ -259,7 +265,8 @@ class Order(meta.Base): # noqa:WPS214 ), *( sa.CheckConstraint( - constraint, name='ordered_timestamps_{index}'.format(index=index), + constraint, + name='ordered_timestamps_{index}'.format(index=index), ) for index, constraint in enumerate( ( @@ -434,7 +441,8 @@ class Order(meta.Base): # noqa:WPS214 Goes together with `.courier_late`. """ return max( - datetime.timedelta(), self.scheduled_pickup_at - self.reached_pickup_at, + datetime.timedelta(), + self.scheduled_pickup_at - self.reached_pickup_at, ) @property @@ -448,7 +456,8 @@ class Order(meta.Base): # noqa:WPS214 Goes together with `.courier_early`. """ return max( - datetime.timedelta(), self.reached_pickup_at - self.scheduled_pickup_at, + datetime.timedelta(), + self.reached_pickup_at - self.scheduled_pickup_at, ) @property @@ -542,7 +551,8 @@ class Order(meta.Base): # noqa:WPS214 def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}(#{order_id})>'.format( - cls=self.__class__.__name__, order_id=self.id, + cls=self.__class__.__name__, + order_id=self.id, ) def draw(self) -> folium.Map: # pragma: no cover diff --git a/src/velofy/db/pixels.py b/src/velofy/db/pixels.py index 52c6266..a4a80ba 100644 --- a/src/velofy/db/pixels.py +++ b/src/velofy/db/pixels.py @@ -36,7 +36,10 @@ class Pixel(meta.Base): # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['grid_id'], ['grids.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['grid_id'], + ['grids.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.CheckConstraint('0 <= n_x', name='n_x_is_positive'), sa.CheckConstraint('0 <= n_y', name='n_y_is_positive'), @@ -54,7 +57,9 @@ class Pixel(meta.Base): def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}: ({x}|{y})>'.format( - cls=self.__class__.__name__, x=self.n_x, y=self.n_y, + cls=self.__class__.__name__, + x=self.n_x, + y=self.n_y, ) # Convenience properties @@ -81,7 +86,9 @@ class Pixel(meta.Base): self.grid.city.southwest.northing + ((self.n_y + 1) * self.side_length), ) latitude, longitude = utm.to_latlon( - easting, northing, *self.grid.city.southwest.zone_details, + easting, + northing, + *self.grid.city.southwest.zone_details, ) location = utils.Location(latitude, longitude) @@ -101,7 +108,9 @@ class Pixel(meta.Base): self.grid.city.southwest.northing + (self.n_y * self.side_length), ) latitude, longitude = utm.to_latlon( - easting, northing, *self.grid.city.southwest.zone_details, + easting, + northing, + *self.grid.city.southwest.zone_details, ) location = utils.Location(latitude, longitude) @@ -137,7 +146,9 @@ class Pixel(meta.Base): return self.grid.city.map def draw( # noqa:C901,WPS210 - self, restaurants: bool = True, order_counts: bool = False, # pragma: no cover + self, + restaurants: bool = True, + order_counts: bool = False, # pragma: no cover ) -> folium.Map: """Draw the pixel on the `.grid.city.map`. @@ -248,7 +259,9 @@ class Pixel(meta.Base): else: address.draw( - radius=1, color=config.RESTAURANT_COLOR, tooltip=tooltip, + radius=1, + color=config.RESTAURANT_COLOR, + tooltip=tooltip, ) return self.map diff --git a/src/velofy/db/replay/orders.py b/src/velofy/db/replay/orders.py index d9fa63b..8219017 100644 --- a/src/velofy/db/replay/orders.py +++ b/src/velofy/db/replay/orders.py @@ -67,7 +67,10 @@ class ReplayedOrder(meta.Base): ondelete='RESTRICT', ), sa.ForeignKeyConstraint( - ['courier_id'], ['couriers.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['courier_id'], + ['couriers.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), # The check constraints model some of the assumptions made in the simulations. sa.CheckConstraint( @@ -262,7 +265,8 @@ class ReplayedOrder(meta.Base): # in the actual `Order` model with an extra `restaurant_ready_at` column # and the non-simulated columns removed. sa.CheckConstraint( - constraint, name='ordered_timestamps_{index}'.format(index=index), + constraint, + name='ordered_timestamps_{index}'.format(index=index), ) for index, constraint in enumerate( ( @@ -335,7 +339,8 @@ class ReplayedOrder(meta.Base): def __repr__(self) -> str: """Non-literal text representation.""" return '<{cls}(#{order_id})>'.format( - cls=self.__class__.__name__, order_id=self.actual.id, + cls=self.__class__.__name__, + order_id=self.actual.id, ) # Convenience properties diff --git a/src/velofy/db/replay/simulations.py b/src/velofy/db/replay/simulations.py index 7f40b1b..88e3547 100644 --- a/src/velofy/db/replay/simulations.py +++ b/src/velofy/db/replay/simulations.py @@ -1,6 +1,5 @@ """Provide the ORM's `ReplaySimulation` model for the replay simulations.""" - import sqlalchemy as sa from sqlalchemy import orm @@ -25,7 +24,10 @@ class ReplaySimulation(meta.Base): # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['city_id'], ['cities.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['city_id'], + ['cities.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), # A `.strategy` can be replayed several times per `.city`. sa.UniqueConstraint('city_id', 'strategy', 'run'), diff --git a/src/velofy/db/restaurants.py b/src/velofy/db/restaurants.py index 95bbeb8..181b5ac 100644 --- a/src/velofy/db/restaurants.py +++ b/src/velofy/db/restaurants.py @@ -23,7 +23,9 @@ class Restaurant(meta.Base): # Columns id = sa.Column( # noqa:WPS125 - sa.SmallInteger, primary_key=True, autoincrement=False, + sa.SmallInteger, + primary_key=True, + autoincrement=False, ) created_at = sa.Column(sa.DateTime, nullable=False) name = sa.Column(sa.Unicode(length=45), nullable=False) @@ -33,7 +35,10 @@ class Restaurant(meta.Base): # Constraints __table_args__ = ( sa.ForeignKeyConstraint( - ['address_id'], ['addresses.id'], onupdate='RESTRICT', ondelete='RESTRICT', + ['address_id'], + ['addresses.id'], + onupdate='RESTRICT', + ondelete='RESTRICT', ), sa.CheckConstraint( '0 <= estimated_prep_duration AND estimated_prep_duration <= 2400', @@ -70,7 +75,9 @@ class Restaurant(meta.Base): return self.address.city.map def draw( - self, customers: bool = True, order_counts: bool = False, # pragma: no cover + self, + customers: bool = True, + order_counts: bool = False, # pragma: no cover ) -> folium.Map: """Draw the restaurant on the `.address.city.map`. @@ -95,7 +102,8 @@ class Restaurant(meta.Base): for row in ( db.session.query(db.Address.primary_id) # noqa:WPS221 .join( - db.Order, db.Address.id == db.Order.delivery_address_id, + db.Order, + db.Address.id == db.Order.delivery_address_id, ) .filter(db.Order.restaurant_id == self.id) .distinct() @@ -136,7 +144,8 @@ class Restaurant(meta.Base): else: address.draw( - radius=1, color=config.CUSTOMER_COLOR, + radius=1, + color=config.CUSTOMER_COLOR, ) self.address.draw( diff --git a/src/velofy/db/utils/colors.py b/src/velofy/db/utils/colors.py index ad45327..02edaec 100644 --- a/src/velofy/db/utils/colors.py +++ b/src/velofy/db/utils/colors.py @@ -7,7 +7,8 @@ from matplotlib import colors def make_random_cmap( - n_colors: int, bright: bool = True, # pragma: no cover + n_colors: int, + bright: bool = True, # pragma: no cover ) -> colors.LinearSegmentedColormap: """Create a random `Colormap` with `n_colors` different colors. @@ -48,7 +49,9 @@ def make_random_cmap( ] return colors.LinearSegmentedColormap.from_list( - 'random_color_map', rgb_colors, N=n_colors, + 'random_color_map', + rgb_colors, + N=n_colors, ) diff --git a/src/velofy/forecasts/methods/arima.py b/src/velofy/forecasts/methods/arima.py index 9e78647..337527d 100644 --- a/src/velofy/forecasts/methods/arima.py +++ b/src/velofy/forecasts/methods/arima.py @@ -43,7 +43,8 @@ def predict( # Copy the data from Python to R. robjects.globalenv['data'] = robjects.r['ts']( - pandas2ri.py2rpy(training_ts), frequency=frequency, + pandas2ri.py2rpy(training_ts), + frequency=frequency, ) seasonal = 'TRUE' if bool(seasonal_fit) else 'FALSE' diff --git a/src/velofy/forecasts/methods/decomposition.py b/src/velofy/forecasts/methods/decomposition.py index e336814..36482af 100644 --- a/src/velofy/forecasts/methods/decomposition.py +++ b/src/velofy/forecasts/methods/decomposition.py @@ -165,7 +165,19 @@ def stl( # noqa:C901,WPS210,WPS211 # Call the STL function in R. ts = robjects.r['ts'](pandas2ri.py2rpy(time_series), frequency=frequency) result = robjects.r['stl']( - ts, ns, ds, nt, dt, nl, dl, js, jt, jl, robust, ni, no, # noqa:WPS221 + ts, + ns, + ds, + nt, + dt, + nl, + dl, + js, + jt, + jl, + robust, + ni, + no, # noqa:WPS221 ) # Unpack the result to a `pd.DataFrame`. diff --git a/src/velofy/forecasts/methods/ets.py b/src/velofy/forecasts/methods/ets.py index 41de353..6962f6f 100644 --- a/src/velofy/forecasts/methods/ets.py +++ b/src/velofy/forecasts/methods/ets.py @@ -44,7 +44,8 @@ def predict( # Copy the data from Python to R. robjects.globalenv['data'] = robjects.r['ts']( - pandas2ri.py2rpy(training_ts), frequency=frequency, + pandas2ri.py2rpy(training_ts), + frequency=frequency, ) model = 'ZZZ' if bool(seasonal_fit) else 'ZZN' diff --git a/src/velofy/forecasts/methods/extrapolate_season.py b/src/velofy/forecasts/methods/extrapolate_season.py index dfbc9c4..ad37b80 100644 --- a/src/velofy/forecasts/methods/extrapolate_season.py +++ b/src/velofy/forecasts/methods/extrapolate_season.py @@ -5,7 +5,10 @@ from statsmodels.tsa import api as ts_stats def predict( - training_ts: pd.Series, forecast_interval: pd.DatetimeIndex, *, frequency: int, + training_ts: pd.Series, + forecast_interval: pd.DatetimeIndex, + *, + frequency: int, ) -> pd.DataFrame: """Extrapolate a seasonal component with a linear model. diff --git a/src/velofy/forecasts/models/base.py b/src/velofy/forecasts/models/base.py index 8f63e27..7f98bf6 100644 --- a/src/velofy/forecasts/models/base.py +++ b/src/velofy/forecasts/models/base.py @@ -33,7 +33,10 @@ class ForecastingModelABC(abc.ABC): @abc.abstractmethod def predict( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> pd.DataFrame: """Concrete implementation of how a `*Model` makes a prediction. @@ -52,7 +55,10 @@ class ForecastingModelABC(abc.ABC): """ # noqa:DAR202 def make_forecast( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> db.Forecast: """Make a forecast for the time step starting at `predict_at`. @@ -82,7 +88,7 @@ class ForecastingModelABC(abc.ABC): .filter_by(train_horizon=train_horizon) .filter_by(model=self.name) .first() - ) : + ): return cached_forecast # Horizontal and real-time `*Model`s return a `pd.DataFrame` with one diff --git a/src/velofy/forecasts/models/tactical/horizontal.py b/src/velofy/forecasts/models/tactical/horizontal.py index cc33bf0..9a4ab81 100644 --- a/src/velofy/forecasts/models/tactical/horizontal.py +++ b/src/velofy/forecasts/models/tactical/horizontal.py @@ -22,7 +22,10 @@ class HorizontalETSModel(base.ForecastingModelABC): name = 'hets' def predict( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> pd.DataFrame: """Predict demand for a time step. @@ -41,7 +44,9 @@ class HorizontalETSModel(base.ForecastingModelABC): """ # Generate the historic (and horizontal) order time series. training_ts, frequency, actuals_ts = self._order_history.make_horizontal_ts( - pixel_id=pixel.id, predict_at=predict_at, train_horizon=train_horizon, + pixel_id=pixel.id, + predict_at=predict_at, + train_horizon=train_horizon, ) # Sanity check. @@ -73,7 +78,10 @@ class HorizontalSMAModel(base.ForecastingModelABC): name = 'hsma' def predict( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> pd.DataFrame: """Predict demand for a time step. @@ -92,7 +100,9 @@ class HorizontalSMAModel(base.ForecastingModelABC): """ # Generate the historic (and horizontal) order time series. training_ts, frequency, actuals_ts = self._order_history.make_horizontal_ts( - pixel_id=pixel.id, predict_at=predict_at, train_horizon=train_horizon, + pixel_id=pixel.id, + predict_at=predict_at, + train_horizon=train_horizon, ) # Sanity checks. diff --git a/src/velofy/forecasts/models/tactical/other.py b/src/velofy/forecasts/models/tactical/other.py index 8720633..d9c9901 100644 --- a/src/velofy/forecasts/models/tactical/other.py +++ b/src/velofy/forecasts/models/tactical/other.py @@ -22,7 +22,10 @@ class TrivialModel(base.ForecastingModelABC): name = 'trivial' def predict( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> pd.DataFrame: """Predict demand for a time step. @@ -42,7 +45,9 @@ class TrivialModel(base.ForecastingModelABC): # Generate the historic order time series mainly to check if a valid # `training_ts` exists (i.e., the demand history is long enough). _, frequency, actuals_ts = self._order_history.make_horizontal_ts( - pixel_id=pixel.id, predict_at=predict_at, train_horizon=train_horizon, + pixel_id=pixel.id, + predict_at=predict_at, + train_horizon=train_horizon, ) # Sanity checks. diff --git a/src/velofy/forecasts/models/tactical/realtime.py b/src/velofy/forecasts/models/tactical/realtime.py index 166bfe4..78933e8 100644 --- a/src/velofy/forecasts/models/tactical/realtime.py +++ b/src/velofy/forecasts/models/tactical/realtime.py @@ -24,7 +24,10 @@ class RealtimeARIMAModel(base.ForecastingModelABC): name = 'rtarima' def predict( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> pd.DataFrame: """Predict demand for a time step. @@ -43,7 +46,9 @@ class RealtimeARIMAModel(base.ForecastingModelABC): """ # Generate the historic (and real-time) order time series. training_ts, frequency, actuals_ts = self._order_history.make_realtime_ts( - pixel_id=pixel.id, predict_at=predict_at, train_horizon=train_horizon, + pixel_id=pixel.id, + predict_at=predict_at, + train_horizon=train_horizon, ) # Decompose the `training_ts` to make predictions for the seasonal diff --git a/src/velofy/forecasts/models/tactical/vertical.py b/src/velofy/forecasts/models/tactical/vertical.py index b67918d..3ac44d7 100644 --- a/src/velofy/forecasts/models/tactical/vertical.py +++ b/src/velofy/forecasts/models/tactical/vertical.py @@ -24,7 +24,10 @@ class VerticalARIMAModel(base.ForecastingModelABC): name = 'varima' def predict( - self, pixel: db.Pixel, predict_at: dt.datetime, train_horizon: int, + self, + pixel: db.Pixel, + predict_at: dt.datetime, + train_horizon: int, ) -> pd.DataFrame: """Predict demand for a time step. diff --git a/src/velofy/forecasts/timify.py b/src/velofy/forecasts/timify.py index 88197ad..226ae8a 100644 --- a/src/velofy/forecasts/timify.py +++ b/src/velofy/forecasts/timify.py @@ -150,7 +150,10 @@ class OrderHistory: # Calculate the first and last "start_at" value ... start_day = data.index.levels[1].min().date() start = dt.datetime( - start_day.year, start_day.month, start_day.day, config.SERVICE_START, + start_day.year, + start_day.month, + start_day.day, + config.SERVICE_START, ) end_day = data.index.levels[1].max().date() end = dt.datetime(end_day.year, end_day.month, end_day.day, config.SERVICE_END) @@ -238,7 +241,10 @@ class OrderHistory: ) def make_horizontal_ts( # noqa:WPS210 - self, pixel_id: int, predict_at: dt.datetime, train_horizon: int, + self, + pixel_id: int, + predict_at: dt.datetime, + train_horizon: int, ) -> Tuple[pd.Series, int, pd.Series]: """Slice a horizontal time series out of the `.totals`. @@ -307,7 +313,10 @@ class OrderHistory: return training_ts, frequency, actuals_ts def make_vertical_ts( # noqa:WPS210 - self, pixel_id: int, predict_day: dt.date, train_horizon: int, + self, + pixel_id: int, + predict_day: dt.date, + train_horizon: int, ) -> Tuple[pd.Series, int, pd.Series]: """Slice a vertical time series out of the `.totals`. @@ -393,7 +402,10 @@ class OrderHistory: return training_ts, frequency, actuals_ts def make_realtime_ts( # noqa:WPS210 - self, pixel_id: int, predict_at: dt.datetime, train_horizon: int, + self, + pixel_id: int, + predict_at: dt.datetime, + train_horizon: int, ) -> Tuple[pd.Series, int, pd.Series]: """Slice a vertical real-time time series out of the `.totals`. @@ -486,7 +498,10 @@ class OrderHistory: return training_ts, frequency, actuals_ts def avg_daily_demand( - self, pixel_id: int, predict_day: dt.date, train_horizon: int, + self, + pixel_id: int, + predict_day: dt.date, + train_horizon: int, ) -> float: """Calculate the average daily demand (ADD) for a `Pixel`. @@ -510,7 +525,9 @@ class OrderHistory: average number of orders per day """ training_ts, _, _ = self.make_vertical_ts( # noqa:WPS434 - pixel_id=pixel_id, predict_day=predict_day, train_horizon=train_horizon, + pixel_id=pixel_id, + predict_day=predict_day, + train_horizon=train_horizon, ) first_day = training_ts.index.min().date() @@ -521,7 +538,10 @@ class OrderHistory: return round(training_ts.sum() / n_days, 1) def choose_tactical_model( - self, pixel_id: int, predict_day: dt.date, train_horizon: int, + self, + pixel_id: int, + predict_day: dt.date, + train_horizon: int, ) -> models.ForecastingModelABC: """Choose the most promising forecasting `*Model` for tactical purposes. @@ -548,7 +568,9 @@ class OrderHistory: # noqa:DAR401 RuntimeError """ # noqa:RST215 add = self.avg_daily_demand( - pixel_id=pixel_id, predict_day=predict_day, train_horizon=train_horizon, + pixel_id=pixel_id, + predict_day=predict_day, + train_horizon=train_horizon, ) # For now, we only make forecasts with 7 and 8 weeks diff --git a/tests/console/test_gridify.py b/tests/console/test_gridify.py index 93726b4..762a670 100644 --- a/tests/console/test_gridify.py +++ b/tests/console/test_gridify.py @@ -9,7 +9,13 @@ from velofy.console import gridify @pytest.mark.db def test_two_pixels_with_two_addresses( # noqa:WPS211 - cli, db_session, monkeypatch, city, make_address, make_restaurant, make_order, + cli, + db_session, + monkeypatch, + city, + make_address, + make_restaurant, + make_order, ): """Two `Address` objects in distinct `Pixel` objects. diff --git a/tests/db/fake_data/factories/couriers.py b/tests/db/fake_data/factories/couriers.py index 2ff4205..d45bde0 100644 --- a/tests/db/fake_data/factories/couriers.py +++ b/tests/db/fake_data/factories/couriers.py @@ -1,6 +1,5 @@ """Factory to create `Courier` instances.""" - import factory from factory import alchemy diff --git a/tests/db/fake_data/factories/orders/ad_hoc.py b/tests/db/fake_data/factories/orders/ad_hoc.py index 69823cd..5052587 100644 --- a/tests/db/fake_data/factories/orders/ad_hoc.py +++ b/tests/db/fake_data/factories/orders/ad_hoc.py @@ -42,7 +42,8 @@ class AdHocOrderFactory(alchemy.SQLAlchemyModelFactory): # Timestamps after `cancelled_at` are discarded # by the `post_generation` hook at the end of the `OrderFactory`. cancel_ = factory.Trait( # noqa:WPS120 -> leading underscore does not work - cancelled=True, cancelled_at_corrected=False, + cancelled=True, + cancelled_at_corrected=False, ) cancel_before_pickup = factory.Trait( cancel_=True, diff --git a/tests/db/fake_data/fixture_makers.py b/tests/db/fake_data/fixture_makers.py index 8f6f891..ffe6a3b 100644 --- a/tests/db/fake_data/fixture_makers.py +++ b/tests/db/fake_data/fixture_makers.py @@ -137,7 +137,10 @@ def make_replay_order(make_order, simulation): order = make_order() return factories.ReplayedOrderFactory.build( - simulation=simulation, actual=order, courier=order.courier, **kwargs, + simulation=simulation, + actual=order, + courier=order.courier, + **kwargs, ) return func diff --git a/tests/db/replay/test_orders.py b/tests/db/replay/test_orders.py index abae0a4..c89ac5a 100644 --- a/tests/db/replay/test_orders.py +++ b/tests/db/replay/test_orders.py @@ -49,7 +49,8 @@ class TestConstraints: ) with pytest.raises( - sa_exc.IntegrityError, match='fk_replayed_orders_to_replay_simulations', + sa_exc.IntegrityError, + match='fk_replayed_orders_to_replay_simulations', ): db_session.execute(stmt) @@ -65,7 +66,10 @@ class TestConstraints: db_session.execute(stmt) def test_delete_a_referenced_courier( - self, db_session, replayed_order, make_courier, + self, + db_session, + replayed_order, + make_courier, ): """Remove a record that is referenced with a FK.""" # Need a second courier, one that is @@ -79,7 +83,8 @@ class TestConstraints: stmt = sqla.delete(db.Courier).where(db.Courier.id == replayed_order.courier.id) with pytest.raises( - sa_exc.IntegrityError, match='fk_replayed_orders_to_couriers', + sa_exc.IntegrityError, + match='fk_replayed_orders_to_couriers', ): db_session.execute(stmt) @@ -92,12 +97,15 @@ class TestConstraints: db_session.add(replayed_order) with pytest.raises( - sa_exc.IntegrityError, match='either_ad_hoc_or_scheduled_order', + sa_exc.IntegrityError, + match='either_ad_hoc_or_scheduled_order', ): db_session.commit() def test_scheduled_order_without_scheduled_delivery_at( - self, db_session, make_replay_order, + self, + db_session, + make_replay_order, ): """Insert an instance with invalid data.""" replay_order = make_replay_order(scheduled=True) @@ -109,7 +117,8 @@ class TestConstraints: db_session.add(replay_order) with pytest.raises( - sa_exc.IntegrityError, match='either_ad_hoc_or_scheduled_order', + sa_exc.IntegrityError, + match='either_ad_hoc_or_scheduled_order', ): db_session.commit() @@ -122,7 +131,8 @@ class TestConstraints: db_session.add(replay_order) with pytest.raises( - sa_exc.IntegrityError, match='ad_hoc_orders_within_business_hours', + sa_exc.IntegrityError, + match='ad_hoc_orders_within_business_hours', ): db_session.commit() @@ -135,7 +145,8 @@ class TestConstraints: db_session.add(replay_order) with pytest.raises( - sa_exc.IntegrityError, match='ad_hoc_orders_within_business_hours', + sa_exc.IntegrityError, + match='ad_hoc_orders_within_business_hours', ): db_session.commit() @@ -153,7 +164,8 @@ class TestConstraints: db_session.add(replay_pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_within_business_hours', + sa_exc.IntegrityError, + match='scheduled_orders_within_business_hours', ): db_session.commit() @@ -171,7 +183,8 @@ class TestConstraints: db_session.add(replay_pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_within_business_hours', + sa_exc.IntegrityError, + match='scheduled_orders_within_business_hours', ): db_session.commit() @@ -210,17 +223,23 @@ class TestConstraints: db_session.add(replay_pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_within_business_hours', + sa_exc.IntegrityError, + match='scheduled_orders_within_business_hours', ): db_session.commit() @pytest.mark.parametrize('minute', [min_ for min_ in range(60) if min_ % 15 != 0]) def test_scheduled_order_at_non_quarter_of_an_hour( - self, db_session, make_replay_order, minute, + self, + db_session, + make_replay_order, + minute, ): """Insert an instance with invalid data.""" scheduled_delivery_at = dt.datetime( # `minute` is not 0, 15, 30, or 45 - *test_config.DATE, test_config.NOON, minute, + *test_config.DATE, + test_config.NOON, + minute, ) replay_pre_order = make_replay_order( scheduled=True, @@ -240,11 +259,17 @@ class TestConstraints: @pytest.mark.parametrize('second', list(range(1, 60))) def test_scheduled_order_at_non_quarter_of_an_hour_by_seconds( - self, db_session, make_replay_order, second, + self, + db_session, + make_replay_order, + second, ): """Insert an instance with invalid data.""" scheduled_delivery_at = dt.datetime( - *test_config.DATE, test_config.NOON, 0, second, + *test_config.DATE, + test_config.NOON, + 0, + second, ) replay_pre_order = make_replay_order( scheduled=True, @@ -289,7 +314,8 @@ class TestConstraints: db_session.add(replay_pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_not_within_30_minutes', + sa_exc.IntegrityError, + match='scheduled_orders_not_within_30_minutes', ): db_session.commit() @@ -355,10 +381,14 @@ class TestConstraints: db_session.commit() @pytest.mark.parametrize( - 'column', ['pickup_at', 'left_pickup_at', 'reached_delivery_at', 'delivery_at'], + 'column', + ['pickup_at', 'left_pickup_at', 'reached_delivery_at', 'delivery_at'], ) def test_no_simulated_cancellation_after_pickup( - self, db_session, replayed_order, column, + self, + db_session, + replayed_order, + column, ): """Insert an instance with invalid data.""" # Setting `.cancelled_at` to the end of a day @@ -386,27 +416,35 @@ class TestConstraints: @pytest.mark.parametrize('duration', [-1, 3601]) def test_estimated_prep_duration_out_of_range( - self, db_session, replayed_order, duration, + self, + db_session, + replayed_order, + duration, ): """Insert an instance with invalid data.""" replayed_order.estimated_prep_duration = duration db_session.add(replayed_order) with pytest.raises( - sa_exc.IntegrityError, match='between_0', # constraint name too long + sa_exc.IntegrityError, + match='between_0', # constraint name too long ): db_session.commit() @pytest.mark.parametrize('duration', [1, 59, 119, 3599]) def test_estimated_prep_duration_not_whole_minute( - self, db_session, replayed_order, duration, + self, + db_session, + replayed_order, + duration, ): """Insert an instance with invalid data.""" replayed_order.estimated_prep_duration = duration db_session.add(replayed_order) with pytest.raises( - sa_exc.IntegrityError, match='must_be_w', # constraint name too long + sa_exc.IntegrityError, + match='must_be_w', # constraint name too long ): db_session.commit() @@ -417,14 +455,19 @@ class TestConstraints: db_session.add(replayed_order) with pytest.raises( - sa_exc.IntegrityError, match='between_0_and_100', + sa_exc.IntegrityError, + match='between_0_and_100', ): db_session.commit() @pytest.mark.parametrize('column', ['restaurant_notified_at', 'dispatch_at']) @pytest.mark.parametrize('hour', [0, 10]) def test_order_dispatched_in_non_business_hour( - self, db_session, replayed_order, column, hour, + self, + db_session, + replayed_order, + column, + hour, ): """Insert an instance with invalid data.""" orig_timestamp = getattr(replayed_order, column) @@ -436,7 +479,8 @@ class TestConstraints: db_session.add(replayed_order) with pytest.raises( - sa_exc.IntegrityError, match='business_hours', + sa_exc.IntegrityError, + match='business_hours', ): db_session.commit() @@ -493,7 +537,10 @@ class TestConstraints: ], ) def test_timestamps_unordered( - self, db_session, replayed_order, comparison, + self, + db_session, + replayed_order, + comparison, ): """Insert an instance with invalid data. @@ -522,7 +569,9 @@ class TestConstraints: # choose one second after a quarter of an hour. replayed_pre_order.placed_at = dt.datetime(*test_config.DATE, 11, 45, 1) self.test_timestamps_unordered( - db_session, replayed_pre_order, 'placed_at < scheduled_delivery_at', + db_session, + replayed_pre_order, + 'placed_at < scheduled_delivery_at', ) @pytest.mark.parametrize( @@ -539,7 +588,10 @@ class TestConstraints: ], ) def test_timestamps_unordered_cancelled( - self, db_session, replayed_order, comparison, + self, + db_session, + replayed_order, + comparison, ): """Insert an instance with invalid data. diff --git a/tests/db/test_addresses.py b/tests/db/test_addresses.py index 00d3e58..f7931d6 100644 --- a/tests/db/test_addresses.py +++ b/tests/db/test_addresses.py @@ -46,7 +46,8 @@ class TestConstraints: db_session.delete(address) with pytest.raises( - sa_exc.IntegrityError, match='fk_addresses_to_addresses_via_primary_id', + sa_exc.IntegrityError, + match='fk_addresses_to_addresses_via_primary_id', ): db_session.commit() @@ -59,7 +60,8 @@ class TestConstraints: stmt = sqla.delete(db.City).where(db.City.id == address.city.id) with pytest.raises( - sa_exc.IntegrityError, match='fk_addresses_to_cities_via_city_id', + sa_exc.IntegrityError, + match='fk_addresses_to_cities_via_city_id', ): db_session.execute(stmt) @@ -70,7 +72,8 @@ class TestConstraints: db_session.add(address) with pytest.raises( - sa_exc.IntegrityError, match='latitude_between_90_degrees', + sa_exc.IntegrityError, + match='latitude_between_90_degrees', ): db_session.commit() @@ -81,7 +84,8 @@ class TestConstraints: db_session.add(address) with pytest.raises( - sa_exc.IntegrityError, match='longitude_between_180_degrees', + sa_exc.IntegrityError, + match='longitude_between_180_degrees', ): db_session.commit() diff --git a/tests/db/test_addresses_addresses.py b/tests/db/test_addresses_addresses.py index c566968..2ae15df 100644 --- a/tests/db/test_addresses_addresses.py +++ b/tests/db/test_addresses_addresses.py @@ -22,7 +22,8 @@ def another_address(make_address): def path(address, another_address, make_address): """A `Path` from `address` to `another_address`.""" air_distance = distance.great_circle( # noqa:WPS317 - address.location.lat_lng, another_address.location.lat_lng, + address.location.lat_lng, + another_address.location.lat_lng, ).meters # We put 5 latitude-longitude pairs as the "path" from @@ -190,7 +191,8 @@ class TestConstraints: db_session.add(path) with pytest.raises( - sa_exc.IntegrityError, match='realistic_bicycle_travel_time', + sa_exc.IntegrityError, + match='realistic_bicycle_travel_time', ): db_session.commit() @@ -214,7 +216,10 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_make_path_instance( - self, db_session, address, another_address, + self, + db_session, + address, + another_address, ): """Test instantiation of a new `Path` instance.""" assert db_session.query(db.Path).count() == 0 @@ -225,7 +230,10 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_make_the_same_path_instance_twice( - self, db_session, address, another_address, + self, + db_session, + address, + another_address, ): """Test instantiation of a new `Path` instance.""" assert db_session.query(db.Path).count() == 0 @@ -247,7 +255,10 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_instances_must_have_air_distance( - self, db_session, address, another_address, + self, + db_session, + address, + another_address, ): """Test instantiation of a new `Path` instance.""" paths = db.Path.from_addresses(address, another_address) @@ -258,7 +269,10 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_do_not_sync_instances_with_google_maps( - self, db_session, address, another_address, + self, + db_session, + address, + another_address, ): """Test instantiation of a new `Path` instance.""" paths = db.Path.from_addresses(address, another_address) @@ -270,7 +284,11 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_sync_instances_with_google_maps( - self, db_session, address, another_address, monkeypatch, + self, + db_session, + address, + another_address, + monkeypatch, ): """Test instantiation of a new `Path` instance.""" @@ -312,7 +330,9 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_make_path_instance_from_order( - self, db_session, order, + self, + db_session, + order, ): """Test instantiation of a new `Path` instance.""" assert db_session.query(db.Path).count() == 0 @@ -323,7 +343,9 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_make_the_same_path_instance_from_order_twice( - self, db_session, order, + self, + db_session, + order, ): """Test instantiation of a new `Path` instance.""" assert db_session.query(db.Path).count() == 0 @@ -345,7 +367,10 @@ class TestFromAddresses: @pytest.mark.usefixtures('_prepare_db') def test_sync_instance_from_order_with_google_maps( - self, db_session, order, monkeypatch, + self, + db_session, + order, + monkeypatch, ): """Test instantiation of a new `Path` instance.""" diff --git a/tests/db/test_forecasts.py b/tests/db/test_forecasts.py index 6455d06..2e8d2ed 100644 --- a/tests/db/test_forecasts.py +++ b/tests/db/test_forecasts.py @@ -79,13 +79,17 @@ class TestConstraints: stmt = sqla.delete(db.Pixel).where(db.Pixel.id == forecast.pixel.id) with pytest.raises( - sa_exc.IntegrityError, match='fk_forecasts_to_pixels_via_pixel_id', + sa_exc.IntegrityError, + match='fk_forecasts_to_pixels_via_pixel_id', ): db_session.execute(stmt) @pytest.mark.parametrize('hour', [10, 23]) def test_invalid_start_at_outside_operating_hours( - self, db_session, forecast, hour, + self, + db_session, + forecast, + hour, ): """Insert an instance with invalid data.""" forecast.start_at = dt.datetime( @@ -97,7 +101,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='within_operating_hours', + sa_exc.IntegrityError, + match='within_operating_hours', ): db_session.commit() @@ -107,7 +112,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='must_be_quarters_of_the_hour', + sa_exc.IntegrityError, + match='must_be_quarters_of_the_hour', ): db_session.commit() @@ -117,7 +123,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='no_seconds', + sa_exc.IntegrityError, + match='no_seconds', ): db_session.commit() @@ -127,7 +134,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='no_microseconds', + sa_exc.IntegrityError, + match='no_microseconds', ): db_session.commit() @@ -138,7 +146,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='time_step_must_be_positive', + sa_exc.IntegrityError, + match='time_step_must_be_positive', ): db_session.commit() @@ -149,7 +158,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='training_horizon_must_be_positive', + sa_exc.IntegrityError, + match='training_horizon_must_be_positive', ): db_session.commit() @@ -159,7 +169,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='actuals_must_be_non_negative', + sa_exc.IntegrityError, + match='actuals_must_be_non_negative', ): db_session.commit() @@ -184,7 +195,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci_upper_and_lower_bounds', + sa_exc.IntegrityError, + match='ci_upper_and_lower_bounds', ): db_session.commit() @@ -196,7 +208,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci_upper_and_lower_bounds', + sa_exc.IntegrityError, + match='ci_upper_and_lower_bounds', ): db_session.commit() @@ -208,7 +221,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci_upper_and_lower_bounds', + sa_exc.IntegrityError, + match='ci_upper_and_lower_bounds', ): db_session.commit() @@ -220,7 +234,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci_upper_and_lower_bounds', + sa_exc.IntegrityError, + match='ci_upper_and_lower_bounds', ): db_session.commit() @@ -233,12 +248,15 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() def test_prediction_smaller_than_low80_without_ci95_set( - self, db_session, forecast, + self, + db_session, + forecast, ): """Insert an instance with invalid data.""" forecast.low95 = None @@ -248,7 +266,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() @@ -261,12 +280,15 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() def test_prediction_smaller_than_low95_without_ci80_set( - self, db_session, forecast, + self, + db_session, + forecast, ): """Insert an instance with invalid data.""" forecast.low80 = None @@ -276,7 +298,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() @@ -289,12 +312,15 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() def test_prediction_greater_than_high80_without_ci95_set( - self, db_session, forecast, + self, + db_session, + forecast, ): """Insert an instance with invalid data.""" forecast.low95 = None @@ -304,7 +330,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() @@ -317,12 +344,15 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() def test_prediction_greater_than_high95_without_ci80_set( - self, db_session, forecast, + self, + db_session, + forecast, ): """Insert an instance with invalid data.""" forecast.low80 = None @@ -332,7 +362,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='prediction_must_be_within_ci', + sa_exc.IntegrityError, + match='prediction_must_be_within_ci', ): db_session.commit() @@ -353,7 +384,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci_upper_bound_greater_than_lower_bound', + sa_exc.IntegrityError, + match='ci_upper_bound_greater_than_lower_bound', ): db_session.commit() @@ -374,7 +406,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci_upper_bound_greater_than_lower_bound', + sa_exc.IntegrityError, + match='ci_upper_bound_greater_than_lower_bound', ): db_session.commit() @@ -388,7 +421,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci95_must_be_wider_than_ci80', + sa_exc.IntegrityError, + match='ci95_must_be_wider_than_ci80', ): db_session.commit() @@ -405,7 +439,8 @@ class TestConstraints: db_session.add(forecast) with pytest.raises( - sa_exc.IntegrityError, match='ci95_must_be_wider_than_ci80', + sa_exc.IntegrityError, + match='ci95_must_be_wider_than_ci80', ): db_session.commit() @@ -490,7 +525,10 @@ class TestFromDataFrameConstructor: @pytest.mark.db def test_persist_predictions_into_database( - self, db_session, pixel, prediction_data, + self, + db_session, + pixel, + prediction_data, ): """Call `Forecast.from_dataframe()` and persist the results.""" forecasts = db.Forecast.from_dataframe( diff --git a/tests/db/test_grids.py b/tests/db/test_grids.py index 0aa434a..f8d740c 100644 --- a/tests/db/test_grids.py +++ b/tests/db/test_grids.py @@ -44,7 +44,8 @@ class TestConstraints: stmt = sqla.delete(db.City).where(db.City.id == grid.city.id) with pytest.raises( - sa_exc.IntegrityError, match='fk_grids_to_cities_via_city_id', + sa_exc.IntegrityError, + match='fk_grids_to_cities_via_city_id', ): db_session.execute(stmt) @@ -206,7 +207,13 @@ class TestGridification: @pytest.mark.no_cover @pytest.mark.parametrize('side_length', [250, 500, 1_000, 2_000, 4_000, 8_000]) def test_make_random_grids( # noqa:WPS211,WPS218 - self, db_session, city, make_address, make_restaurant, make_order, side_length, + self, + db_session, + city, + make_address, + make_restaurant, + make_order, + side_length, ): """With 100 random `Address` objects, a grid must have ... diff --git a/tests/db/test_orders.py b/tests/db/test_orders.py index 66618e9..a95799f 100644 --- a/tests/db/test_orders.py +++ b/tests/db/test_orders.py @@ -127,7 +127,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='either_ad_hoc_or_scheduled_order', + sa_exc.IntegrityError, + match='either_ad_hoc_or_scheduled_order', ): db_session.commit() @@ -141,7 +142,8 @@ class TestConstraints: db_session.add(pre_order) with pytest.raises( - sa_exc.IntegrityError, match='either_ad_hoc_or_scheduled_order', + sa_exc.IntegrityError, + match='either_ad_hoc_or_scheduled_order', ): db_session.commit() @@ -152,7 +154,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='ad_hoc_orders_within_business_hours', + sa_exc.IntegrityError, + match='ad_hoc_orders_within_business_hours', ): db_session.commit() @@ -163,20 +166,23 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='ad_hoc_orders_within_business_hours', + sa_exc.IntegrityError, + match='ad_hoc_orders_within_business_hours', ): db_session.commit() def test_scheduled_order_way_too_early(self, db_session, make_order): """Insert an instance with invalid data.""" pre_order = make_order( - scheduled=True, scheduled_delivery_at=dt.datetime(*test_config.DATE, 10, 0), + scheduled=True, + scheduled_delivery_at=dt.datetime(*test_config.DATE, 10, 0), ) db_session.add(pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_within_business_hours', + sa_exc.IntegrityError, + match='scheduled_orders_within_business_hours', ): db_session.commit() @@ -190,7 +196,8 @@ class TestConstraints: db_session.add(pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_within_business_hours', + sa_exc.IntegrityError, + match='scheduled_orders_within_business_hours', ): db_session.commit() @@ -214,25 +221,32 @@ class TestConstraints: def test_scheduled_order_too_late(self, db_session, make_order): """Insert an instance with invalid data.""" pre_order = make_order( - scheduled=True, scheduled_delivery_at=dt.datetime(*test_config.DATE, 23, 0), + scheduled=True, + scheduled_delivery_at=dt.datetime(*test_config.DATE, 23, 0), ) db_session.add(pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_within_business_hours', + sa_exc.IntegrityError, + match='scheduled_orders_within_business_hours', ): db_session.commit() @pytest.mark.parametrize('minute', [min_ for min_ in range(60) if min_ % 15 != 0]) def test_scheduled_order_at_non_quarter_of_an_hour( - self, db_session, make_order, minute, + self, + db_session, + make_order, + minute, ): """Insert an instance with invalid data.""" pre_order = make_order( scheduled=True, scheduled_delivery_at=dt.datetime( # `minute` is not 0, 15, 30, or 45 - *test_config.DATE, test_config.NOON, minute, + *test_config.DATE, + test_config.NOON, + minute, ), ) @@ -246,13 +260,19 @@ class TestConstraints: @pytest.mark.parametrize('second', list(range(1, 60))) def test_scheduled_order_at_non_quarter_of_an_hour_by_seconds( - self, db_session, make_order, second, + self, + db_session, + make_order, + second, ): """Insert an instance with invalid data.""" pre_order = make_order( scheduled=True, scheduled_delivery_at=dt.datetime( - *test_config.DATE, test_config.NOON, 0, second, + *test_config.DATE, + test_config.NOON, + 0, + second, ), ) @@ -288,7 +308,8 @@ class TestConstraints: db_session.add(pre_order) with pytest.raises( - sa_exc.IntegrityError, match='scheduled_orders_not_within_30_minutes', + sa_exc.IntegrityError, + match='scheduled_orders_not_within_30_minutes', ): db_session.commit() @@ -304,7 +325,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='only_cancelled_orders_may_have_cancelled_at', + sa_exc.IntegrityError, + match='only_cancelled_orders_may_have_cancelled_at', ): db_session.commit() @@ -317,7 +339,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='cancelled_orders_must_not_be_delivered', + sa_exc.IntegrityError, + match='cancelled_orders_must_not_be_delivered', ): db_session.commit() @@ -328,20 +351,25 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='between_0_and_2700', + sa_exc.IntegrityError, + match='between_0_and_2700', ): db_session.commit() @pytest.mark.parametrize('duration', [1, 59, 119, 2699]) def test_estimated_prep_duration_not_whole_minute( - self, db_session, order, duration, + self, + db_session, + order, + duration, ): """Insert an instance with invalid data.""" order.estimated_prep_duration = duration db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='must_be_whole_minutes', + sa_exc.IntegrityError, + match='must_be_whole_minutes', ): db_session.commit() @@ -352,7 +380,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='between_0_and_900', + sa_exc.IntegrityError, + match='between_0_and_900', ): db_session.commit() @@ -363,7 +392,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='must_be_whole_minutes', + sa_exc.IntegrityError, + match='must_be_whole_minutes', ): db_session.commit() @@ -374,7 +404,8 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='between_0_and_100', + sa_exc.IntegrityError, + match='between_0_and_100', ): db_session.commit() @@ -393,7 +424,10 @@ class TestConstraints: ], ) def test_unset_timestamp_column_not_marked_as_uncorrected( # noqa:WPS213 - self, db_session, order, column, + self, + db_session, + order, + column, ): """Insert an instance with invalid data. @@ -421,12 +455,15 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='corrections_only_for_set_value', + sa_exc.IntegrityError, + match='corrections_only_for_set_value', ): db_session.commit() def test_unset_timestamp_column_not_marked_as_uncorrected_special_case1( - self, db_session, order, + self, + db_session, + order, ): """Insert an instance with invalid data. @@ -434,11 +471,15 @@ class TestConstraints: """ order.pickup_not_confirmed = None self.test_unset_timestamp_column_not_marked_as_uncorrected( - db_session, order, 'pickup_at', + db_session, + order, + 'pickup_at', ) def test_unset_timestamp_column_not_marked_as_uncorrected_special_case2( - self, db_session, order, + self, + db_session, + order, ): """Insert an instance with invalid data. @@ -447,7 +488,9 @@ class TestConstraints: order.delivery_not_confirmed = None order._courier_waited_at_delivery = None self.test_unset_timestamp_column_not_marked_as_uncorrected( - db_session, order, 'delivery_at', + db_session, + order, + 'delivery_at', ) @pytest.mark.parametrize( @@ -465,7 +508,10 @@ class TestConstraints: ], ) def test_set_timestamp_column_is_not_unmarked( # noqa:WPS213 - self, db_session, order, column, + self, + db_session, + order, + column, ): """Insert an instance with invalid data. @@ -493,23 +539,30 @@ class TestConstraints: db_session.add(order) with pytest.raises( - sa_exc.IntegrityError, match='corrections_only_for_set_value', + sa_exc.IntegrityError, + match='corrections_only_for_set_value', ): db_session.commit() def test_set_timestamp_column_is_not_unmarked_special_case1( - self, db_session, pre_order, + self, + db_session, + pre_order, ): """Insert an instance with invalid data. This is one of two special cases. See the generic case above. """ self.test_set_timestamp_column_is_not_unmarked( - db_session, pre_order, 'scheduled_delivery_at', + db_session, + pre_order, + 'scheduled_delivery_at', ) def test_set_timestamp_column_is_not_unmarked_special_case2( - self, db_session, order, + self, + db_session, + order, ): """Insert an instance with invalid data. @@ -524,7 +577,9 @@ class TestConstraints: order._courier_waited_at_delivery = None self.test_set_timestamp_column_is_not_unmarked( - db_session, order, 'cancelled_at', + db_session, + order, + 'cancelled_at', ) @pytest.mark.parametrize( @@ -575,7 +630,10 @@ class TestConstraints: ], ) def test_timestamps_unordered( - self, db_session, order, comparison, + self, + db_session, + order, + comparison, ): """Insert an instance with invalid data. @@ -604,7 +662,9 @@ class TestConstraints: # choose one second after a quarter of an hour. pre_order.placed_at = dt.datetime(*test_config.DATE, 11, 45, 1) self.test_timestamps_unordered( - db_session, pre_order, 'placed_at < scheduled_delivery_at', + db_session, + pre_order, + 'placed_at < scheduled_delivery_at', ) @pytest.mark.parametrize( @@ -623,7 +683,10 @@ class TestConstraints: ], ) def test_timestamps_unordered_cancelled( - self, db_session, order, comparison, + self, + db_session, + order, + comparison, ): """Insert an instance with invalid data. @@ -1021,7 +1084,11 @@ class TestProperties: @pytest.mark.db @pytest.mark.no_cover def test_make_random_orders( # noqa:C901,WPS211,WPS213 - db_session, make_address, make_courier, make_restaurant, make_order, + db_session, + make_address, + make_courier, + make_restaurant, + make_order, ): """Sanity check the all the `make_*` fixtures. diff --git a/tests/db/test_pixels.py b/tests/db/test_pixels.py index 3c71fd7..a6a0039 100644 --- a/tests/db/test_pixels.py +++ b/tests/db/test_pixels.py @@ -44,7 +44,8 @@ class TestConstraints: stmt = sqla.delete(db.Grid).where(db.Grid.id == pixel.grid.id) with pytest.raises( - sa_exc.IntegrityError, match='fk_pixels_to_grids_via_grid_id', + sa_exc.IntegrityError, + match='fk_pixels_to_grids_via_grid_id', ): db_session.execute(stmt) diff --git a/tests/db/test_restaurants.py b/tests/db/test_restaurants.py index 4e20e70..6ed14e0 100644 --- a/tests/db/test_restaurants.py +++ b/tests/db/test_restaurants.py @@ -44,7 +44,8 @@ class TestConstraints: stmt = sqla.delete(db.Address).where(db.Address.id == restaurant.address.id) with pytest.raises( - sa_exc.IntegrityError, match='fk_restaurants_to_addresses_via_address_id', + sa_exc.IntegrityError, + match='fk_restaurants_to_addresses_via_address_id', ): db_session.execute(stmt) @@ -54,7 +55,8 @@ class TestConstraints: db_session.add(restaurant) with pytest.raises( - sa_exc.IntegrityError, match='realistic_estimated_prep_duration', + sa_exc.IntegrityError, + match='realistic_estimated_prep_duration', ): db_session.commit() @@ -64,6 +66,7 @@ class TestConstraints: db_session.add(restaurant) with pytest.raises( - sa_exc.IntegrityError, match='realistic_estimated_prep_duration', + sa_exc.IntegrityError, + match='realistic_estimated_prep_duration', ): db_session.commit() diff --git a/tests/db/utils/test_locations.py b/tests/db/utils/test_locations.py index 24aabfa..b777718 100644 --- a/tests/db/utils/test_locations.py +++ b/tests/db/utils/test_locations.py @@ -80,7 +80,9 @@ class TestSpecialMethods: assert result is False def test_compare_utm_coordinates_to_far_away_coordinates( - self, location, faraway_location, + self, + location, + faraway_location, ): """Test `Location.__eq__()`.""" with pytest.raises(ValueError, match='must be in the same zone'): @@ -173,7 +175,9 @@ class TestRelateTo: location.relate_to(object()) def test_call_relate_to_with_far_away_other( - self, location, faraway_location, + self, + location, + faraway_location, ): """The `other` origin must be in the same UTM zone.""" with pytest.raises(ValueError, match='must be in the same zone'): diff --git a/tests/forecasts/conftest.py b/tests/forecasts/conftest.py index 8486888..741c6d6 100644 --- a/tests/forecasts/conftest.py +++ b/tests/forecasts/conftest.py @@ -50,7 +50,9 @@ def vertical_datetime_index(): which is `12` for `LONG_TIME_STEP` values. """ start_ats = pd.date_range( - test_config.START, test_config.END, freq=f'{test_config.LONG_TIME_STEP}T', + test_config.START, + test_config.END, + freq=f'{test_config.LONG_TIME_STEP}T', ) gen = ( start_at @@ -103,7 +105,9 @@ def order_totals(good_pixel_id): pixel_ids = [good_pixel_id, good_pixel_id + 1] start_ats = pd.date_range( - test_config.START, test_config.END, freq=f'{test_config.LONG_TIME_STEP}T', + test_config.START, + test_config.END, + freq=f'{test_config.LONG_TIME_STEP}T', ) gen = ( (pixel_id, start_at) diff --git a/tests/forecasts/methods/test_decomposition.py b/tests/forecasts/methods/test_decomposition.py index bc3e48b..00b4b15 100644 --- a/tests/forecasts/methods/test_decomposition.py +++ b/tests/forecasts/methods/test_decomposition.py @@ -22,14 +22,18 @@ class TestInvalidArguments: with pytest.raises(ValueError, match='`NaN` values'): decomposition.stl( - time_series, frequency=test_config.VERTICAL_FREQUENCY_LONG, ns=NS, + time_series, + frequency=test_config.VERTICAL_FREQUENCY_LONG, + ns=NS, ) def test_ns_not_odd(self, vertical_no_demand): """`ns` must be odd and `>= 7`.""" with pytest.raises(ValueError, match='`ns`'): decomposition.stl( - vertical_no_demand, frequency=test_config.VERTICAL_FREQUENCY_LONG, ns=8, + vertical_no_demand, + frequency=test_config.VERTICAL_FREQUENCY_LONG, + ns=8, ) @pytest.mark.parametrize('ns', [-99, -1, 1, 5]) @@ -197,7 +201,9 @@ class TestValidArguments: def test_structure_of_returned_dataframe(self, vertical_no_demand): """`stl()` returns a `pd.DataFrame` with three columns.""" result = decomposition.stl( - vertical_no_demand, frequency=test_config.VERTICAL_FREQUENCY_LONG, ns=NS, + vertical_no_demand, + frequency=test_config.VERTICAL_FREQUENCY_LONG, + ns=NS, ) assert isinstance(result, pd.DataFrame) @@ -216,7 +222,18 @@ class TestValidArguments: @pytest.mark.parametrize('ni', [2, 3]) @pytest.mark.parametrize('no', [0, 1]) def test_decompose_time_series_with_no_demand( # noqa:WPS211,WPS216 - self, vertical_no_demand, nt, nl, ds, dt, dl, js, jt, jl, ni, no, # noqa:WPS110 + self, + vertical_no_demand, + nt, + nl, + ds, + dt, + dl, + js, + jt, + jl, + ni, + no, # noqa:WPS110 ): """Decomposing a time series with no demand ... diff --git a/tests/forecasts/methods/test_predictions.py b/tests/forecasts/methods/test_predictions.py index eb2cd16..7310537 100644 --- a/tests/forecasts/methods/test_predictions.py +++ b/tests/forecasts/methods/test_predictions.py @@ -21,14 +21,24 @@ def forecast_interval(): """ future_day = test_config.END.date() + dt.timedelta(days=1) first_start_at = dt.datetime( - future_day.year, future_day.month, future_day.day, config.SERVICE_START, 0, + future_day.year, + future_day.month, + future_day.day, + config.SERVICE_START, + 0, ) end_of_day = dt.datetime( - future_day.year, future_day.month, future_day.day, config.SERVICE_END, 0, + future_day.year, + future_day.month, + future_day.day, + config.SERVICE_END, + 0, ) start_ats = pd.date_range( - first_start_at, end_of_day, freq=f'{test_config.LONG_TIME_STEP}T', + first_start_at, + end_of_day, + freq=f'{test_config.LONG_TIME_STEP}T', ) gen = ( start_at @@ -48,7 +58,11 @@ def forecast_time_step(): future_day = test_config.END.date() + dt.timedelta(days=1) start_at = dt.datetime( - future_day.year, future_day.month, future_day.day, test_config.NOON, 0, + future_day.year, + future_day.month, + future_day.day, + test_config.NOON, + 0, ) index = pd.Index([start_at]) @@ -59,13 +73,17 @@ def forecast_time_step(): @pytest.mark.r @pytest.mark.parametrize( - 'func', [arima.predict, ets.predict, extrapolate_season.predict], + 'func', + [arima.predict, ets.predict, extrapolate_season.predict], ) class TestMakePredictions: """Make predictions with `arima.predict()` and `ets.predict()`.""" def test_training_data_contains_nan_values( - self, func, vertical_no_demand, forecast_interval, + self, + func, + vertical_no_demand, + forecast_interval, ): """`training_ts` must not contain `NaN` values.""" vertical_no_demand.iloc[0] = pd.NA @@ -78,7 +96,10 @@ class TestMakePredictions: ) def test_structure_of_returned_dataframe( - self, func, vertical_no_demand, forecast_interval, + self, + func, + vertical_no_demand, + forecast_interval, ): """Both `.predict()` return a `pd.DataFrame` with five columns.""" result = func( @@ -97,7 +118,10 @@ class TestMakePredictions: ] def test_predict_horizontal_time_series_with_no_demand( - self, func, horizontal_no_demand, forecast_time_step, + self, + func, + horizontal_no_demand, + forecast_time_step, ): """Predicting a horizontal time series with no demand ... @@ -114,7 +138,10 @@ class TestMakePredictions: assert result == 0 def test_predict_vertical_time_series_with_no_demand( - self, func, vertical_no_demand, forecast_interval, + self, + func, + vertical_no_demand, + forecast_interval, ): """Predicting a vertical time series with no demand ... diff --git a/tests/forecasts/test_models.py b/tests/forecasts/test_models.py index 1665cd8..4821ac2 100644 --- a/tests/forecasts/test_models.py +++ b/tests/forecasts/test_models.py @@ -1,6 +1,5 @@ """Tests for the `velofy.forecasts.models` sub-package.""" - import pandas as pd import pytest @@ -62,7 +61,11 @@ class TestGenericForecastingModelProperties: @pytest.mark.r def test_make_prediction_structure( - self, model_cls, order_history, pixel, predict_at, + self, + model_cls, + order_history, + pixel, + predict_at, ): """`*Model.predict()` returns a `pd.DataFrame` ... @@ -88,7 +91,11 @@ class TestGenericForecastingModelProperties: @pytest.mark.r def test_make_prediction_for_given_time_step( - self, model_cls, order_history, pixel, predict_at, + self, + model_cls, + order_history, + pixel, + predict_at, ): """`*Model.predict()` returns a row for ... @@ -106,7 +113,11 @@ class TestGenericForecastingModelProperties: @pytest.mark.r def test_make_prediction_contains_actual_values( - self, model_cls, order_history, pixel, predict_at, + self, + model_cls, + order_history, + pixel, + predict_at, ): """`*Model.predict()` returns a `pd.DataFrame` ... @@ -126,7 +137,12 @@ class TestGenericForecastingModelProperties: @pytest.mark.db @pytest.mark.r def test_make_forecast( # noqa:WPS211 - self, db_session, model_cls, order_history, pixel, predict_at, + self, + db_session, + model_cls, + order_history, + pixel, + predict_at, ): """`*Model.make_forecast()` returns a `Forecast` object.""" # noqa:RST215 model = model_cls(order_history=order_history) @@ -145,7 +161,12 @@ class TestGenericForecastingModelProperties: @pytest.mark.db @pytest.mark.r def test_make_forecast_is_cached( # noqa:WPS211 - self, db_session, model_cls, order_history, pixel, predict_at, + self, + db_session, + model_cls, + order_history, + pixel, + predict_at, ): """`*Model.make_forecast()` caches the `Forecast` object.""" # noqa:RST215 model = model_cls(order_history=order_history) diff --git a/tests/forecasts/timify/test_aggregate_orders.py b/tests/forecasts/timify/test_aggregate_orders.py index 3964984..3a2534a 100644 --- a/tests/forecasts/timify/test_aggregate_orders.py +++ b/tests/forecasts/timify/test_aggregate_orders.py @@ -57,7 +57,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 0 # noqa:WPS507 sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() @@ -65,7 +66,11 @@ class TestAggregateOrders: assert len(result) == 0 # noqa:WPS507 def test_evenly_distributed_ad_hoc_orders( - self, db_session, one_pixel_grid, restaurant, make_order, + self, + db_session, + one_pixel_grid, + restaurant, + make_order, ): """12 ad-hoc orders, one per operating hour.""" # Create one order per hour and 12 orders in total. @@ -82,7 +87,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 12 # sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() @@ -94,7 +100,11 @@ class TestAggregateOrders: assert result['n_orders'].sum() == 12 def test_evenly_distributed_ad_hoc_orders_with_no_demand_late( # noqa:WPS218 - self, db_session, one_pixel_grid, restaurant, make_order, + self, + db_session, + one_pixel_grid, + restaurant, + make_order, ): """10 ad-hoc orders, one per hour, no orders after 21.""" # Create one order per hour and 10 orders in total. @@ -111,7 +121,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 10 # sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() @@ -125,7 +136,11 @@ class TestAggregateOrders: assert result.iloc[10:]['n_orders'].sum() == 0 def test_one_ad_hoc_order_every_other_hour( - self, db_session, one_pixel_grid, restaurant, make_order, + self, + db_session, + one_pixel_grid, + restaurant, + make_order, ): """6 ad-hoc orders, one every other hour.""" # Create one order every other hour. @@ -142,7 +157,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 6 # sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() @@ -154,7 +170,11 @@ class TestAggregateOrders: assert result['n_orders'].sum() == 6 def test_one_ad_hoc_and_one_pre_order( - self, db_session, one_pixel_grid, restaurant, make_order, + self, + db_session, + one_pixel_grid, + restaurant, + make_order, ): """1 ad-hoc and 1 scheduled order. @@ -180,7 +200,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 2 # sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() @@ -192,7 +213,11 @@ class TestAggregateOrders: assert result['n_orders'].sum() == 1 def test_evenly_distributed_ad_hoc_orders_with_half_hour_time_steps( # noqa:WPS218 - self, db_session, one_pixel_grid, restaurant, make_order, + self, + db_session, + one_pixel_grid, + restaurant, + make_order, ): """12 ad-hoc orders, one per hour, with 30 minute time windows. @@ -212,7 +237,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 12 # sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.SHORT_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.SHORT_TIME_STEP, ) result = oh.aggregate_orders() @@ -226,7 +252,11 @@ class TestAggregateOrders: assert result.iloc[1::2]['n_orders'].sum() == 0 def test_ad_hoc_orders_over_two_days( - self, db_session, one_pixel_grid, restaurant, make_order, + self, + db_session, + one_pixel_grid, + restaurant, + make_order, ): """First day 12 ad-hoc orders, one per operating hour ... @@ -262,7 +292,8 @@ class TestAggregateOrders: assert len(restaurant.orders) == 18 # sanity check oh = timify.OrderHistory( - grid=one_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=one_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() @@ -275,7 +306,12 @@ class TestAggregateOrders: @pytest.fixture def two_pixel_grid( # noqa:WPS211 - self, db_session, city, make_address, make_restaurant, addresses_mock, + self, + db_session, + city, + make_address, + make_restaurant, + addresses_mock, ): """A persisted `Grid` with two `Pixel` objects.""" # One `Address` in the lower-left `Pixel`, ... @@ -301,7 +337,10 @@ class TestAggregateOrders: return grid def test_two_pixels_with_shifted_orders( # noqa:WPS218 - self, db_session, two_pixel_grid, make_order, + self, + db_session, + two_pixel_grid, + make_order, ): """One restaurant with one order every other hour ... @@ -356,7 +395,8 @@ class TestAggregateOrders: assert len(restaurant2.orders) == 24 oh = timify.OrderHistory( - grid=two_pixel_grid, time_step=test_config.LONG_TIME_STEP, + grid=two_pixel_grid, + time_step=test_config.LONG_TIME_STEP, ) result = oh.aggregate_orders() diff --git a/tests/forecasts/timify/test_avg_daily_demand.py b/tests/forecasts/timify/test_avg_daily_demand.py index 5c12114..86ede7f 100644 --- a/tests/forecasts/timify/test_avg_daily_demand.py +++ b/tests/forecasts/timify/test_avg_daily_demand.py @@ -16,7 +16,10 @@ class TestAverageDailyDemand: """Tests for the `OrderHistory.avg_daily_demand()` method.""" def test_avg_daily_demand_with_constant_demand( - self, order_history, good_pixel_id, predict_at, + self, + order_history, + good_pixel_id, + predict_at, ): """The average daily demand must be the number of time steps ... @@ -34,7 +37,10 @@ class TestAverageDailyDemand: assert result == 12.0 def test_avg_daily_demand_with_no_demand( - self, order_history, good_pixel_id, predict_at, + self, + order_history, + good_pixel_id, + predict_at, ): """Without demand, the average daily demand must be `0.0`.""" order_history._data.loc[:, 'n_orders'] = 0 @@ -52,7 +58,10 @@ class TestChooseTacticalModel: """Tests for the `OrderHistory.choose_tactical_model()` method.""" def test_best_model_with_high_demand( - self, order_history, good_pixel_id, predict_at, + self, + order_history, + good_pixel_id, + predict_at, ): """With high demand, the average daily demand is `.>= 25.0`.""" # With 12 time steps per day, the ADD becomes `36.0`. @@ -67,7 +76,10 @@ class TestChooseTacticalModel: assert isinstance(result, models.HorizontalETSModel) def test_best_model_with_medium_demand( - self, order_history, good_pixel_id, predict_at, + self, + order_history, + good_pixel_id, + predict_at, ): """With medium demand, the average daily demand is `>= 10.0` and `< 25.0`.""" # With 12 time steps per day, the ADD becomes `24.0`. @@ -82,7 +94,10 @@ class TestChooseTacticalModel: assert isinstance(result, models.HorizontalETSModel) def test_best_model_with_low_demand( - self, order_history, good_pixel_id, predict_at, + self, + order_history, + good_pixel_id, + predict_at, ): """With low demand, the average daily demand is `>= 2.5` and `< 10.0`.""" # With 12 time steps per day, the ADD becomes `12.0` ... @@ -115,7 +130,10 @@ class TestChooseTacticalModel: assert isinstance(result, models.HorizontalSMAModel) def test_best_model_with_no_demand( - self, order_history, good_pixel_id, predict_at, + self, + order_history, + good_pixel_id, + predict_at, ): """Without demand, the average daily demand is `< 2.5`.""" order_history._data.loc[:, 'n_orders'] = 0 @@ -129,7 +147,10 @@ class TestChooseTacticalModel: assert isinstance(result, models.TrivialModel) def test_best_model_for_unknown_train_horizon( - self, order_history, good_pixel_id, predict_at, # noqa:RST215 + self, + order_history, + good_pixel_id, + predict_at, # noqa:RST215 ): """For `train_horizon` values not included in the rule-based system ... diff --git a/tests/forecasts/timify/test_make_time_series.py b/tests/forecasts/timify/test_make_time_series.py index 690c19d..98f73e0 100644 --- a/tests/forecasts/timify/test_make_time_series.py +++ b/tests/forecasts/timify/test_make_time_series.py @@ -38,7 +38,11 @@ def bad_predict_at(): """ predict_day = test_config.END - datetime.timedelta(weeks=6, days=1) return datetime.datetime( - predict_day.year, predict_day.month, predict_day.day, test_config.NOON, 0, + predict_day.year, + predict_day.month, + predict_day.day, + test_config.NOON, + 0, ) @@ -57,7 +61,11 @@ class TestMakeHorizontalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_are_series( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The time series come as a `pd.Series`.""" result = order_history.make_horizontal_ts( @@ -75,7 +83,11 @@ class TestMakeHorizontalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_have_correct_length( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The length of a training time series must be a multiple of `7` ... @@ -94,7 +106,11 @@ class TestMakeHorizontalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_frequency_is_number_of_weekdays( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The `frequency` must be `7`.""" result = order_history.make_horizontal_ts( @@ -109,7 +125,11 @@ class TestMakeHorizontalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_no_long_enough_history1( - self, order_history, good_pixel_id, bad_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + bad_predict_at, + train_horizon, ): """If the `predict_at` day is too early in the `START`-`END` horizon ... @@ -123,7 +143,10 @@ class TestMakeHorizontalTimeSeries: ) def test_no_long_enough_history2( - self, order_history, good_pixel_id, good_predict_at, + self, + order_history, + good_pixel_id, + good_predict_at, ): """If the `train_horizon` is longer than the `START`-`END` horizon ... @@ -131,7 +154,9 @@ class TestMakeHorizontalTimeSeries: """ with pytest.raises(RuntimeError): order_history.make_horizontal_ts( - pixel_id=good_pixel_id, predict_at=good_predict_at, train_horizon=999, + pixel_id=good_pixel_id, + predict_at=good_predict_at, + train_horizon=999, ) @@ -150,7 +175,11 @@ class TestMakeVerticalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_are_series( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The time series come as `pd.Series`.""" result = order_history.make_vertical_ts( @@ -168,7 +197,11 @@ class TestMakeVerticalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_have_correct_length( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The length of a training time series is the product of the ... @@ -197,7 +230,11 @@ class TestMakeVerticalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_frequency_is_number_number_of_weekly_time_steps( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The `frequency` is the number of weekly time steps.""" result = order_history.make_vertical_ts( @@ -218,7 +255,11 @@ class TestMakeVerticalTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_no_long_enough_history1( - self, order_history, good_pixel_id, bad_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + bad_predict_at, + train_horizon, ): """If the `predict_at` day is too early in the `START`-`END` horizon ... @@ -232,7 +273,10 @@ class TestMakeVerticalTimeSeries: ) def test_no_long_enough_history2( - self, order_history, good_pixel_id, good_predict_at, + self, + order_history, + good_pixel_id, + good_predict_at, ): """If the `train_horizon` is longer than the `START`-`END` horizon ... @@ -261,7 +305,11 @@ class TestMakeRealTimeTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_are_series( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The time series come as `pd.Series`.""" result = order_history.make_realtime_ts( @@ -279,7 +327,11 @@ class TestMakeRealTimeTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_have_correct_length1( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The length of a training time series is the product of the ... @@ -297,7 +349,9 @@ class TestMakeRealTimeTimeSeries: 0, ) result = order_history.make_realtime_ts( - pixel_id=good_pixel_id, predict_at=predict_at, train_horizon=train_horizon, + pixel_id=good_pixel_id, + predict_at=predict_at, + train_horizon=train_horizon, ) training_ts, _, actuals_ts = result @@ -313,7 +367,11 @@ class TestMakeRealTimeTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_time_series_have_correct_length2( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The length of a training time series is the product of the ... @@ -352,7 +410,11 @@ class TestMakeRealTimeTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_frequency_is_number_number_of_weekly_time_steps( - self, order_history, good_pixel_id, good_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + good_predict_at, + train_horizon, ): """The `frequency` is the number of weekly time steps.""" result = order_history.make_realtime_ts( @@ -373,7 +435,11 @@ class TestMakeRealTimeTimeSeries: @pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS) def test_no_long_enough_history1( - self, order_history, good_pixel_id, bad_predict_at, train_horizon, + self, + order_history, + good_pixel_id, + bad_predict_at, + train_horizon, ): """If the `predict_at` day is too early in the `START`-`END` horizon ... @@ -387,7 +453,10 @@ class TestMakeRealTimeTimeSeries: ) def test_no_long_enough_history2( - self, order_history, good_pixel_id, good_predict_at, + self, + order_history, + good_pixel_id, + good_predict_at, ): """If the `train_horizon` is longer than the `START`-`END` horizon ... @@ -395,5 +464,7 @@ class TestMakeRealTimeTimeSeries: """ with pytest.raises(RuntimeError): order_history.make_realtime_ts( - pixel_id=good_pixel_id, predict_at=good_predict_at, train_horizon=999, + pixel_id=good_pixel_id, + predict_at=good_predict_at, + train_horizon=999, ) diff --git a/tests/forecasts/timify/test_order_history.py b/tests/forecasts/timify/test_order_history.py index a20acff..d0fb4c5 100644 --- a/tests/forecasts/timify/test_order_history.py +++ b/tests/forecasts/timify/test_order_history.py @@ -73,7 +73,8 @@ class TestMethods: def test_first_order_at_non_existing_pixel(self, order_history, good_pixel_id): """Test `OrderHistory.first_order_at()` with bad input.""" with pytest.raises( - LookupError, match='`pixel_id` is not in the `grid`', + LookupError, + match='`pixel_id` is not in the `grid`', ): order_history.first_order_at(-1) @@ -87,6 +88,7 @@ class TestMethods: def test_last_order_at_non_existing_pixel(self, order_history, good_pixel_id): """Test `OrderHistory.last_order_at()` with bad input.""" with pytest.raises( - LookupError, match='`pixel_id` is not in the `grid`', + LookupError, + match='`pixel_id` is not in the `grid`', ): order_history.last_order_at(-1)