From 944ed5fb2024230f03a905957a95759f9cae86b0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 17:19:56 +0000 Subject: [PATCH 1/8] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/uv-pre-commit: 0.10.2 → 0.11.2](https://github.com/astral-sh/uv-pre-commit/compare/0.10.2...0.11.2) - [github.com/astral-sh/ruff-pre-commit: v0.15.1 → v0.15.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.1...v0.15.8) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5352d8bf..7e32ddf29 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,11 +12,11 @@ repos: args: [--fix=lf] # Ensures all line endings are LF - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.10.2 + rev: 0.11.2 hooks: - id: uv-lock - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.1 + rev: v0.15.8 hooks: - id: ruff-check args: [--fix] From 7ceec83839b47b27b22d3efd90b73c9c46768e44 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 30 Mar 2026 15:44:15 -0300 Subject: [PATCH 2/8] update ruff --- uv.lock | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/uv.lock b/uv.lock index 4659e4342..96ad21923 100644 --- a/uv.lock +++ b/uv.lock @@ -3400,27 +3400,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.15.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/04/dc/4e6ac71b511b141cf626357a3946679abeba4cf67bc7cc5a17920f31e10d/ruff-0.15.1.tar.gz", hash = "sha256:c590fe13fb57c97141ae975c03a1aedb3d3156030cabd740d6ff0b0d601e203f", size = 4540855, upload-time = "2026-02-12T23:09:09.998Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/23/bf/e6e4324238c17f9d9120a9d60aa99a7daaa21204c07fcd84e2ef03bb5fd1/ruff-0.15.1-py3-none-linux_armv6l.whl", hash = "sha256:b101ed7cf4615bda6ffe65bdb59f964e9f4a0d3f85cbf0e54f0ab76d7b90228a", size = 10367819, upload-time = "2026-02-12T23:09:03.598Z" }, - { url = "https://files.pythonhosted.org/packages/b3/ea/c8f89d32e7912269d38c58f3649e453ac32c528f93bb7f4219258be2e7ed/ruff-0.15.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:939c995e9277e63ea632cc8d3fae17aa758526f49a9a850d2e7e758bfef46602", size = 10798618, upload-time = "2026-02-12T23:09:22.928Z" }, - { url = "https://files.pythonhosted.org/packages/5e/0f/1d0d88bc862624247d82c20c10d4c0f6bb2f346559d8af281674cf327f15/ruff-0.15.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:1d83466455fdefe60b8d9c8df81d3c1bbb2115cede53549d3b522ce2bc703899", size = 10148518, upload-time = "2026-02-12T23:08:58.339Z" }, - { url = "https://files.pythonhosted.org/packages/f5/c8/291c49cefaa4a9248e986256df2ade7add79388fe179e0691be06fae6f37/ruff-0.15.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a9457e3c3291024866222b96108ab2d8265b477e5b1534c7ddb1810904858d16", size = 10518811, upload-time = "2026-02-12T23:09:31.865Z" }, - { url = "https://files.pythonhosted.org/packages/c3/1a/f5707440e5ae43ffa5365cac8bbb91e9665f4a883f560893829cf16a606b/ruff-0.15.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:92c92b003e9d4f7fbd33b1867bb15a1b785b1735069108dfc23821ba045b29bc", size = 10196169, upload-time = "2026-02-12T23:09:17.306Z" }, - { url = "https://files.pythonhosted.org/packages/2a/ff/26ddc8c4da04c8fd3ee65a89c9fb99eaa5c30394269d424461467be2271f/ruff-0.15.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1fe5c41ab43e3a06778844c586251eb5a510f67125427625f9eb2b9526535779", size = 10990491, upload-time = "2026-02-12T23:09:25.503Z" }, - { url = "https://files.pythonhosted.org/packages/fc/00/50920cb385b89413f7cdb4bb9bc8fc59c1b0f30028d8bccc294189a54955/ruff-0.15.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:66a6dd6df4d80dc382c6484f8ce1bcceb55c32e9f27a8b94c32f6c7331bf14fb", size = 11843280, upload-time = "2026-02-12T23:09:19.88Z" }, - { url = "https://files.pythonhosted.org/packages/5d/6d/2f5cad8380caf5632a15460c323ae326f1e1a2b5b90a6ee7519017a017ca/ruff-0.15.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6a4a42cbb8af0bda9bcd7606b064d7c0bc311a88d141d02f78920be6acb5aa83", size = 11274336, upload-time = "2026-02-12T23:09:14.907Z" }, - { url = "https://files.pythonhosted.org/packages/a3/1d/5f56cae1d6c40b8a318513599b35ea4b075d7dc1cd1d04449578c29d1d75/ruff-0.15.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4ab064052c31dddada35079901592dfba2e05f5b1e43af3954aafcbc1096a5b2", size = 11137288, upload-time = "2026-02-12T23:09:07.475Z" }, - { url = "https://files.pythonhosted.org/packages/cd/20/6f8d7d8f768c93b0382b33b9306b3b999918816da46537d5a61635514635/ruff-0.15.1-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:5631c940fe9fe91f817a4c2ea4e81f47bee3ca4aa646134a24374f3c19ad9454", size = 11070681, upload-time = "2026-02-12T23:08:55.43Z" }, - { url = "https://files.pythonhosted.org/packages/9a/67/d640ac76069f64cdea59dba02af2e00b1fa30e2103c7f8d049c0cff4cafd/ruff-0.15.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:68138a4ba184b4691ccdc39f7795c66b3c68160c586519e7e8444cf5a53e1b4c", size = 10486401, upload-time = "2026-02-12T23:09:27.927Z" }, - { url = "https://files.pythonhosted.org/packages/65/3d/e1429f64a3ff89297497916b88c32a5cc88eeca7e9c787072d0e7f1d3e1e/ruff-0.15.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:518f9af03bfc33c03bdb4cb63fabc935341bb7f54af500f92ac309ecfbba6330", size = 10197452, upload-time = "2026-02-12T23:09:12.147Z" }, - { url = "https://files.pythonhosted.org/packages/78/83/e2c3bade17dad63bf1e1c2ffaf11490603b760be149e1419b07049b36ef2/ruff-0.15.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:da79f4d6a826caaea95de0237a67e33b81e6ec2e25fc7e1993a4015dffca7c61", size = 10693900, upload-time = "2026-02-12T23:09:34.418Z" }, - { url = "https://files.pythonhosted.org/packages/a1/27/fdc0e11a813e6338e0706e8b39bb7a1d61ea5b36873b351acee7e524a72a/ruff-0.15.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:3dd86dccb83cd7d4dcfac303ffc277e6048600dfc22e38158afa208e8bf94a1f", size = 11227302, upload-time = "2026-02-12T23:09:36.536Z" }, - { url = "https://files.pythonhosted.org/packages/f6/58/ac864a75067dcbd3b95be5ab4eb2b601d7fbc3d3d736a27e391a4f92a5c1/ruff-0.15.1-py3-none-win32.whl", hash = "sha256:660975d9cb49b5d5278b12b03bb9951d554543a90b74ed5d366b20e2c57c2098", size = 10462555, upload-time = "2026-02-12T23:09:29.899Z" }, - { url = "https://files.pythonhosted.org/packages/e0/5e/d4ccc8a27ecdb78116feac4935dfc39d1304536f4296168f91ed3ec00cd2/ruff-0.15.1-py3-none-win_amd64.whl", hash = "sha256:c820fef9dd5d4172a6570e5721704a96c6679b80cf7be41659ed439653f62336", size = 11599956, upload-time = "2026-02-12T23:09:01.157Z" }, - { url = "https://files.pythonhosted.org/packages/2a/07/5bda6a85b220c64c65686bc85bd0bbb23b29c62b3a9f9433fa55f17cda93/ruff-0.15.1-py3-none-win_arm64.whl", hash = "sha256:5ff7d5f0f88567850f45081fac8f4ec212be8d0b963e385c3f7d0d2eb4899416", size = 10874604, upload-time = "2026-02-12T23:09:05.515Z" }, +version = "0.15.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/14/b0/73cf7550861e2b4824950b8b52eebdcc5adc792a00c514406556c5b80817/ruff-0.15.8.tar.gz", hash = "sha256:995f11f63597ee362130d1d5a327a87cb6f3f5eae3094c620bcc632329a4d26e", size = 4610921, upload-time = "2026-03-26T18:39:38.675Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4a/92/c445b0cd6da6e7ae51e954939cb69f97e008dbe750cfca89b8cedc081be7/ruff-0.15.8-py3-none-linux_armv6l.whl", hash = "sha256:cbe05adeba76d58162762d6b239c9056f1a15a55bd4b346cfd21e26cd6ad7bc7", size = 10527394, upload-time = "2026-03-26T18:39:41.566Z" }, + { url = "https://files.pythonhosted.org/packages/eb/92/f1c662784d149ad1414cae450b082cf736430c12ca78367f20f5ed569d65/ruff-0.15.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:d3e3d0b6ba8dca1b7ef9ab80a28e840a20070c4b62e56d675c24f366ef330570", size = 10905693, upload-time = "2026-03-26T18:39:30.364Z" }, + { url = "https://files.pythonhosted.org/packages/ca/f2/7a631a8af6d88bcef997eb1bf87cc3da158294c57044aafd3e17030613de/ruff-0.15.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6ee3ae5c65a42f273f126686353f2e08ff29927b7b7e203b711514370d500de3", size = 10323044, upload-time = "2026-03-26T18:39:33.37Z" }, + { url = "https://files.pythonhosted.org/packages/67/18/1bf38e20914a05e72ef3b9569b1d5c70a7ef26cd188d69e9ca8ef588d5bf/ruff-0.15.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fdce027ada77baa448077ccc6ebb2fa9c3c62fd110d8659d601cf2f475858d94", size = 10629135, upload-time = "2026-03-26T18:39:44.142Z" }, + { url = "https://files.pythonhosted.org/packages/d2/e9/138c150ff9af60556121623d41aba18b7b57d95ac032e177b6a53789d279/ruff-0.15.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:12e617fc01a95e5821648a6df341d80456bd627bfab8a829f7cfc26a14a4b4a3", size = 10348041, upload-time = "2026-03-26T18:39:52.178Z" }, + { url = "https://files.pythonhosted.org/packages/02/f1/5bfb9298d9c323f842c5ddeb85f1f10ef51516ac7a34ba446c9347d898df/ruff-0.15.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:432701303b26416d22ba696c39f2c6f12499b89093b61360abc34bcc9bf07762", size = 11121987, upload-time = "2026-03-26T18:39:55.195Z" }, + { url = "https://files.pythonhosted.org/packages/10/11/6da2e538704e753c04e8d86b1fc55712fdbdcc266af1a1ece7a51fff0d10/ruff-0.15.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d910ae974b7a06a33a057cb87d2a10792a3b2b3b35e33d2699fdf63ec8f6b17a", size = 11951057, upload-time = "2026-03-26T18:39:19.18Z" }, + { url = "https://files.pythonhosted.org/packages/83/f0/c9208c5fd5101bf87002fed774ff25a96eea313d305f1e5d5744698dc314/ruff-0.15.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2033f963c43949d51e6fdccd3946633c6b37c484f5f98c3035f49c27395a8ab8", size = 11464613, upload-time = "2026-03-26T18:40:06.301Z" }, + { url = "https://files.pythonhosted.org/packages/f8/22/d7f2fabdba4fae9f3b570e5605d5eb4500dcb7b770d3217dca4428484b17/ruff-0.15.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0f29b989a55572fb885b77464cf24af05500806ab4edf9a0fd8977f9759d85b1", size = 11257557, upload-time = "2026-03-26T18:39:57.972Z" }, + { url = "https://files.pythonhosted.org/packages/71/8c/382a9620038cf6906446b23ce8632ab8c0811b8f9d3e764f58bedd0c9a6f/ruff-0.15.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:ac51d486bf457cdc985a412fb1801b2dfd1bd8838372fc55de64b1510eff4bec", size = 11169440, upload-time = "2026-03-26T18:39:22.205Z" }, + { url = "https://files.pythonhosted.org/packages/4d/0d/0994c802a7eaaf99380085e4e40c845f8e32a562e20a38ec06174b52ef24/ruff-0.15.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:c9861eb959edab053c10ad62c278835ee69ca527b6dcd72b47d5c1e5648964f6", size = 10605963, upload-time = "2026-03-26T18:39:46.682Z" }, + { url = "https://files.pythonhosted.org/packages/19/aa/d624b86f5b0aad7cef6bbf9cd47a6a02dfdc4f72c92a337d724e39c9d14b/ruff-0.15.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8d9a5b8ea13f26ae90838afc33f91b547e61b794865374f114f349e9036835fb", size = 10357484, upload-time = "2026-03-26T18:39:49.176Z" }, + { url = "https://files.pythonhosted.org/packages/35/c3/e0b7835d23001f7d999f3895c6b569927c4d39912286897f625736e1fd04/ruff-0.15.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:c2a33a529fb3cbc23a7124b5c6ff121e4d6228029cba374777bd7649cc8598b8", size = 10830426, upload-time = "2026-03-26T18:40:03.702Z" }, + { url = "https://files.pythonhosted.org/packages/f0/51/ab20b322f637b369383adc341d761eaaa0f0203d6b9a7421cd6e783d81b9/ruff-0.15.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:75e5cd06b1cf3f47a3996cfc999226b19aa92e7cce682dcd62f80d7035f98f49", size = 11345125, upload-time = "2026-03-26T18:39:27.799Z" }, + { url = "https://files.pythonhosted.org/packages/37/e6/90b2b33419f59d0f2c4c8a48a4b74b460709a557e8e0064cf33ad894f983/ruff-0.15.8-py3-none-win32.whl", hash = "sha256:bc1f0a51254ba21767bfa9a8b5013ca8149dcf38092e6a9eb704d876de94dc34", size = 10571959, upload-time = "2026-03-26T18:39:36.117Z" }, + { url = "https://files.pythonhosted.org/packages/1f/a2/ef467cb77099062317154c63f234b8a7baf7cb690b99af760c5b68b9ee7f/ruff-0.15.8-py3-none-win_amd64.whl", hash = "sha256:04f79eff02a72db209d47d665ba7ebcad609d8918a134f86cb13dd132159fc89", size = 11743893, upload-time = "2026-03-26T18:39:25.01Z" }, + { url = "https://files.pythonhosted.org/packages/15/e2/77be4fff062fa78d9b2a4dea85d14785dac5f1d0c1fb58ed52331f0ebe28/ruff-0.15.8-py3-none-win_arm64.whl", hash = "sha256:cf891fa8e3bb430c0e7fac93851a5978fc99c8fa2c053b57b118972866f8e5f2", size = 11048175, upload-time = "2026-03-26T18:40:01.06Z" }, ] [[package]] From 0d28d532f4c96c514acd4adc521ff6a9c8f9f395 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 27 Jul 2026 22:59:21 -0300 Subject: [PATCH 3/8] Fix lint --- .pre-commit-config.yaml | 6 +-- .../lavoura_permanente/code/api_to_json.py | 2 +- .../lavoura_temporaria/code/api_to_json.py | 2 +- .../2-extracao_vegetal_api_to_json.py | 2 +- .../2-silvicultura_api_to_json.py | 2 +- .../efetivo_rebanhos/code/api_to_json.py | 2 +- .../producao_aquicultura/code/api_to_json.py | 2 +- .../code/api_to_json.py | 2 +- .../ovinos_tosquiados/code/api_to_json.py | 2 +- .../vacas_ordenhadas/code/api_to_json.py | 2 +- models/us_census_cbp/code/download.py | 4 +- pipelines/crawler/ibge_inflacao/utils.py | 3 +- pipelines/utils/metadata/domain.py | 4 +- pyproject.toml | 2 +- uv.lock | 42 +++++++++---------- 15 files changed, 39 insertions(+), 40 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e32ddf29..520048a36 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,11 +12,11 @@ repos: args: [--fix=lf] # Ensures all line endings are LF - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.11.2 + rev: 0.11.32 hooks: - id: uv-lock - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.8 + rev: v0.16.0 hooks: - id: ruff-check args: [--fix] @@ -33,7 +33,7 @@ repos: - --exclude - target/**/* - repo: https://github.com/tconbeer/sqlfmt - rev: v0.29.0 + rev: v0.27.0 hooks: - id: sqlfmt language_version: python diff --git a/models/br_ibge_pam/lavoura_permanente/code/api_to_json.py b/models/br_ibge_pam/lavoura_permanente/code/api_to_json.py index 967851537..d205e1592 100644 --- a/models/br_ibge_pam/lavoura_permanente/code/api_to_json.py +++ b/models/br_ibge_pam/lavoura_permanente/code/api_to_json.py @@ -128,7 +128,7 @@ async def main( try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs("tmp/json/", exist_ok=True) with open(f"tmp/json/{year}.json", "a") as f: diff --git a/models/br_ibge_pam/lavoura_temporaria/code/api_to_json.py b/models/br_ibge_pam/lavoura_temporaria/code/api_to_json.py index 6815f1125..bbc0b6220 100644 --- a/models/br_ibge_pam/lavoura_temporaria/code/api_to_json.py +++ b/models/br_ibge_pam/lavoura_temporaria/code/api_to_json.py @@ -123,7 +123,7 @@ async def main( try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs("tmp/json", exist_ok=True) with open(f"tmp/json/{year}.json", "a") as f: diff --git a/models/br_ibge_pevs/code/extracao_vegetal/2-extracao_vegetal_api_to_json.py b/models/br_ibge_pevs/code/extracao_vegetal/2-extracao_vegetal_api_to_json.py index 6e4af00bf..655f3de06 100644 --- a/models/br_ibge_pevs/code/extracao_vegetal/2-extracao_vegetal_api_to_json.py +++ b/models/br_ibge_pevs/code/extracao_vegetal/2-extracao_vegetal_api_to_json.py @@ -42,7 +42,7 @@ async def main(years, categories): try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs("./output/extracao_vegetal/json/", exist_ok=True) with open(f"./output/extracao_vegetal/json/{year}.json", "a") as f: diff --git a/models/br_ibge_pevs/code/silvicultura/2-silvicultura_api_to_json.py b/models/br_ibge_pevs/code/silvicultura/2-silvicultura_api_to_json.py index 1ebec01cf..fe1921c3b 100644 --- a/models/br_ibge_pevs/code/silvicultura/2-silvicultura_api_to_json.py +++ b/models/br_ibge_pevs/code/silvicultura/2-silvicultura_api_to_json.py @@ -42,7 +42,7 @@ async def main(years, categories): try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs("./output/silvicultura/json/", exist_ok=True) with open(f"./output/silvicultura/json/{year}.json", "a") as f: diff --git a/models/br_ibge_ppm/efetivo_rebanhos/code/api_to_json.py b/models/br_ibge_ppm/efetivo_rebanhos/code/api_to_json.py index 9c9cb9317..512cd1ff7 100644 --- a/models/br_ibge_ppm/efetivo_rebanhos/code/api_to_json.py +++ b/models/br_ibge_ppm/efetivo_rebanhos/code/api_to_json.py @@ -89,7 +89,7 @@ async def main( try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs( f"{Path.cwd()}/output/efetivo_rebanhos/json", exist_ok=True diff --git a/models/br_ibge_ppm/producao_aquicultura/code/api_to_json.py b/models/br_ibge_ppm/producao_aquicultura/code/api_to_json.py index 6dfc9e13c..c98755466 100644 --- a/models/br_ibge_ppm/producao_aquicultura/code/api_to_json.py +++ b/models/br_ibge_ppm/producao_aquicultura/code/api_to_json.py @@ -104,7 +104,7 @@ async def main( try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs( f"{Path.cwd()}/output/producao_aquicultura/json", exist_ok=True diff --git a/models/br_ibge_ppm/producao_origem_animal/code/api_to_json.py b/models/br_ibge_ppm/producao_origem_animal/code/api_to_json.py index 16ca3135f..8a04e456d 100644 --- a/models/br_ibge_ppm/producao_origem_animal/code/api_to_json.py +++ b/models/br_ibge_ppm/producao_origem_animal/code/api_to_json.py @@ -82,7 +82,7 @@ async def main( try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs( f"{Path.cwd()}/output/producao_origem_animal/json", diff --git a/models/br_ibge_ppm/producao_pecuaria/source/ovinos_tosquiados/code/api_to_json.py b/models/br_ibge_ppm/producao_pecuaria/source/ovinos_tosquiados/code/api_to_json.py index 241eb91aa..90050a7ec 100644 --- a/models/br_ibge_ppm/producao_pecuaria/source/ovinos_tosquiados/code/api_to_json.py +++ b/models/br_ibge_ppm/producao_pecuaria/source/ovinos_tosquiados/code/api_to_json.py @@ -70,7 +70,7 @@ async def main(years: list[int], variables: list[str]) -> None: try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs( f"{Path.cwd()}/output/producao_pecuaria/ovinos_tosquiados/json/", diff --git a/models/br_ibge_ppm/producao_pecuaria/source/vacas_ordenhadas/code/api_to_json.py b/models/br_ibge_ppm/producao_pecuaria/source/vacas_ordenhadas/code/api_to_json.py index 952a5b8e0..e6839c4ca 100644 --- a/models/br_ibge_ppm/producao_pecuaria/source/vacas_ordenhadas/code/api_to_json.py +++ b/models/br_ibge_ppm/producao_pecuaria/source/vacas_ordenhadas/code/api_to_json.py @@ -70,7 +70,7 @@ async def main(years: list[int], variables: list[str]) -> None: try: response = await future responses.append(response) - except asyncio.TimeoutError: + except TimeoutError: print(f"Request timed out for {url}") os.makedirs( f"{Path.cwd()}/output/producao_pecuaria/vacas_ordenhadas/json/", diff --git a/models/us_census_cbp/code/download.py b/models/us_census_cbp/code/download.py index 687967da6..b049bd3da 100644 --- a/models/us_census_cbp/code/download.py +++ b/models/us_census_cbp/code/download.py @@ -12,7 +12,7 @@ import shutil import time import zipfile -from datetime import datetime, timezone +from datetime import UTC, datetime from pathlib import Path import requests @@ -37,7 +37,7 @@ def log(msg: str) -> None: Args: msg: Message to print. """ - ts = datetime.now(timezone.utc).strftime("%H:%M:%S") + ts = datetime.now(UTC).strftime("%H:%M:%S") print(f"[{ts}] {msg}", flush=True) diff --git a/pipelines/crawler/ibge_inflacao/utils.py b/pipelines/crawler/ibge_inflacao/utils.py index 3422f2d22..ca23d74e0 100644 --- a/pipelines/crawler/ibge_inflacao/utils.py +++ b/pipelines/crawler/ibge_inflacao/utils.py @@ -1,4 +1,3 @@ -import asyncio import json import os from collections import defaultdict @@ -101,7 +100,7 @@ async def collect_data( for result in tqdm_asyncio.as_completed(tasks, total=len(tasks)): try: results.append(await result) - except asyncio.TimeoutError: + except TimeoutError: print("⚠️ Timeout em uma requisição") save_json( diff --git a/pipelines/utils/metadata/domain.py b/pipelines/utils/metadata/domain.py index bf72426ee..cca7b0dff 100644 --- a/pipelines/utils/metadata/domain.py +++ b/pipelines/utils/metadata/domain.py @@ -6,14 +6,14 @@ from __future__ import annotations -from enum import Enum +from enum import StrEnum from typing import Annotated, Literal from dateutil.relativedelta import relativedelta from pydantic import BaseModel, Field, model_validator -class DateFormat(str, Enum): +class DateFormat(StrEnum): """Formatos de data aceitos pelo backend.""" YEAR = "%Y" diff --git a/pyproject.toml b/pyproject.toml index 1003d4cf3..2f43736fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -151,7 +151,7 @@ dev = [ [tool.ruff] line-length = 79 -target-version = "py310" +target-version = "py312" extend-exclude = ['\{\{cookiecutter.pipeline_name\}\}'] [tool.ruff.lint] diff --git a/uv.lock b/uv.lock index 154e2e0e5..841220763 100644 --- a/uv.lock +++ b/uv.lock @@ -5044,27 +5044,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.15.8" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/14/b0/73cf7550861e2b4824950b8b52eebdcc5adc792a00c514406556c5b80817/ruff-0.15.8.tar.gz", hash = "sha256:995f11f63597ee362130d1d5a327a87cb6f3f5eae3094c620bcc632329a4d26e", size = 4610921, upload-time = "2026-03-26T18:39:38.675Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/4a/92/c445b0cd6da6e7ae51e954939cb69f97e008dbe750cfca89b8cedc081be7/ruff-0.15.8-py3-none-linux_armv6l.whl", hash = "sha256:cbe05adeba76d58162762d6b239c9056f1a15a55bd4b346cfd21e26cd6ad7bc7", size = 10527394, upload-time = "2026-03-26T18:39:41.566Z" }, - { url = "https://files.pythonhosted.org/packages/eb/92/f1c662784d149ad1414cae450b082cf736430c12ca78367f20f5ed569d65/ruff-0.15.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:d3e3d0b6ba8dca1b7ef9ab80a28e840a20070c4b62e56d675c24f366ef330570", size = 10905693, upload-time = "2026-03-26T18:39:30.364Z" }, - { url = "https://files.pythonhosted.org/packages/ca/f2/7a631a8af6d88bcef997eb1bf87cc3da158294c57044aafd3e17030613de/ruff-0.15.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6ee3ae5c65a42f273f126686353f2e08ff29927b7b7e203b711514370d500de3", size = 10323044, upload-time = "2026-03-26T18:39:33.37Z" }, - { url = "https://files.pythonhosted.org/packages/67/18/1bf38e20914a05e72ef3b9569b1d5c70a7ef26cd188d69e9ca8ef588d5bf/ruff-0.15.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fdce027ada77baa448077ccc6ebb2fa9c3c62fd110d8659d601cf2f475858d94", size = 10629135, upload-time = "2026-03-26T18:39:44.142Z" }, - { url = "https://files.pythonhosted.org/packages/d2/e9/138c150ff9af60556121623d41aba18b7b57d95ac032e177b6a53789d279/ruff-0.15.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:12e617fc01a95e5821648a6df341d80456bd627bfab8a829f7cfc26a14a4b4a3", size = 10348041, upload-time = "2026-03-26T18:39:52.178Z" }, - { url = "https://files.pythonhosted.org/packages/02/f1/5bfb9298d9c323f842c5ddeb85f1f10ef51516ac7a34ba446c9347d898df/ruff-0.15.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:432701303b26416d22ba696c39f2c6f12499b89093b61360abc34bcc9bf07762", size = 11121987, upload-time = "2026-03-26T18:39:55.195Z" }, - { url = "https://files.pythonhosted.org/packages/10/11/6da2e538704e753c04e8d86b1fc55712fdbdcc266af1a1ece7a51fff0d10/ruff-0.15.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d910ae974b7a06a33a057cb87d2a10792a3b2b3b35e33d2699fdf63ec8f6b17a", size = 11951057, upload-time = "2026-03-26T18:39:19.18Z" }, - { url = "https://files.pythonhosted.org/packages/83/f0/c9208c5fd5101bf87002fed774ff25a96eea313d305f1e5d5744698dc314/ruff-0.15.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2033f963c43949d51e6fdccd3946633c6b37c484f5f98c3035f49c27395a8ab8", size = 11464613, upload-time = "2026-03-26T18:40:06.301Z" }, - { url = "https://files.pythonhosted.org/packages/f8/22/d7f2fabdba4fae9f3b570e5605d5eb4500dcb7b770d3217dca4428484b17/ruff-0.15.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0f29b989a55572fb885b77464cf24af05500806ab4edf9a0fd8977f9759d85b1", size = 11257557, upload-time = "2026-03-26T18:39:57.972Z" }, - { url = "https://files.pythonhosted.org/packages/71/8c/382a9620038cf6906446b23ce8632ab8c0811b8f9d3e764f58bedd0c9a6f/ruff-0.15.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:ac51d486bf457cdc985a412fb1801b2dfd1bd8838372fc55de64b1510eff4bec", size = 11169440, upload-time = "2026-03-26T18:39:22.205Z" }, - { url = "https://files.pythonhosted.org/packages/4d/0d/0994c802a7eaaf99380085e4e40c845f8e32a562e20a38ec06174b52ef24/ruff-0.15.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:c9861eb959edab053c10ad62c278835ee69ca527b6dcd72b47d5c1e5648964f6", size = 10605963, upload-time = "2026-03-26T18:39:46.682Z" }, - { url = "https://files.pythonhosted.org/packages/19/aa/d624b86f5b0aad7cef6bbf9cd47a6a02dfdc4f72c92a337d724e39c9d14b/ruff-0.15.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8d9a5b8ea13f26ae90838afc33f91b547e61b794865374f114f349e9036835fb", size = 10357484, upload-time = "2026-03-26T18:39:49.176Z" }, - { url = "https://files.pythonhosted.org/packages/35/c3/e0b7835d23001f7d999f3895c6b569927c4d39912286897f625736e1fd04/ruff-0.15.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:c2a33a529fb3cbc23a7124b5c6ff121e4d6228029cba374777bd7649cc8598b8", size = 10830426, upload-time = "2026-03-26T18:40:03.702Z" }, - { url = "https://files.pythonhosted.org/packages/f0/51/ab20b322f637b369383adc341d761eaaa0f0203d6b9a7421cd6e783d81b9/ruff-0.15.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:75e5cd06b1cf3f47a3996cfc999226b19aa92e7cce682dcd62f80d7035f98f49", size = 11345125, upload-time = "2026-03-26T18:39:27.799Z" }, - { url = "https://files.pythonhosted.org/packages/37/e6/90b2b33419f59d0f2c4c8a48a4b74b460709a557e8e0064cf33ad894f983/ruff-0.15.8-py3-none-win32.whl", hash = "sha256:bc1f0a51254ba21767bfa9a8b5013ca8149dcf38092e6a9eb704d876de94dc34", size = 10571959, upload-time = "2026-03-26T18:39:36.117Z" }, - { url = "https://files.pythonhosted.org/packages/1f/a2/ef467cb77099062317154c63f234b8a7baf7cb690b99af760c5b68b9ee7f/ruff-0.15.8-py3-none-win_amd64.whl", hash = "sha256:04f79eff02a72db209d47d665ba7ebcad609d8918a134f86cb13dd132159fc89", size = 11743893, upload-time = "2026-03-26T18:39:25.01Z" }, - { url = "https://files.pythonhosted.org/packages/15/e2/77be4fff062fa78d9b2a4dea85d14785dac5f1d0c1fb58ed52331f0ebe28/ruff-0.15.8-py3-none-win_arm64.whl", hash = "sha256:cf891fa8e3bb430c0e7fac93851a5978fc99c8fa2c053b57b118972866f8e5f2", size = 11048175, upload-time = "2026-03-26T18:40:01.06Z" }, +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4d/94/1e5e4967626faf12fa56999cd6222dff6992ceb086ad7945756baf70c7a7/ruff-0.16.0.tar.gz", hash = "sha256:e460aafd5495ec89efaa6ced2e4a9a581116451e1c88b9d37ef497e0f8e93982", size = 4790557, upload-time = "2026-07-23T19:11:30.981Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4b/81/1c8818fee7ce1a04cd7d1b3172e0a8f8e4f1dc4feb7fc390e16daa8af323/ruff-0.16.0-py3-none-linux_armv6l.whl", hash = "sha256:e5115729eb08c585e5121978ba5d5b60caeae394ce21b9fb5e6cd33a1c6c9b1e", size = 10754633, upload-time = "2026-07-23T19:10:46.415Z" }, + { url = "https://files.pythonhosted.org/packages/23/df/beaf59c09d68db84304d555f188b276a77132a5d5b0b67a5c762aa143628/ruff-0.16.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:3c954b1d580bfa035b41654f7858cc7e71d5fc3ac5b723dd62bd9133830ed522", size = 10969164, upload-time = "2026-07-23T19:10:50.271Z" }, + { url = "https://files.pythonhosted.org/packages/42/ce/741cd197496a1abbf51352710fd15ed995d2a2be87189c1da26a450d6e83/ruff-0.16.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e01c21d10eb1b29f47b7454e1f4056db9a3f0260c646aa88457c610291db9f81", size = 10488846, upload-time = "2026-07-23T19:10:52.639Z" }, + { url = "https://files.pythonhosted.org/packages/52/2a/a2db8e88cade358f5cdcb05674a917751074109315d014eb6352d9a893f7/ruff-0.16.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e364e5ed22ed8dc05082fd78e35308618260907ac2d3c1d637b2e682415b6c9", size = 10889729, upload-time = "2026-07-23T19:10:54.89Z" }, + { url = "https://files.pythonhosted.org/packages/42/65/62a771694ebd63029dc953e27dbad40e1588bd4860ff9fe881018fddaa49/ruff-0.16.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d327b8fc113a1d4421a04f3839d3752057c8dd1ee320223a6f3f52d04ada462a", size = 10568275, upload-time = "2026-07-23T19:10:56.993Z" }, + { url = "https://files.pythonhosted.org/packages/3f/e2/ced249fe8af5f086c5c58cc21cc3356d50f32f7401c5df87050c999620a7/ruff-0.16.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9b50c55e263103586b3dcf5f73d479eb8cb5fdb6098fec59a62891dab653717", size = 11385112, upload-time = "2026-07-23T19:10:59.615Z" }, + { url = "https://files.pythonhosted.org/packages/87/0b/05154977a8fd69eeb6c103271f55403bfd8711f5c0f8ed07489d95a504e7/ruff-0.16.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0ff4a79ce3ec0172f3241943835de1c4cb4e2dcd07f0f8c2d02603dbbbee4b17", size = 12207008, upload-time = "2026-07-23T19:11:02.154Z" }, + { url = "https://files.pythonhosted.org/packages/fb/29/98225831a3a1eab0e02f4acc6ca6559a98611dcc68b6965ff4b7234627c1/ruff-0.16.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e95c448fca1fb2a18372a9440926c5a6ee789639bb975c72e7ae6d0b04218ab4", size = 11650842, upload-time = "2026-07-23T19:11:04.557Z" }, + { url = "https://files.pythonhosted.org/packages/91/66/6bd3cf90500653d55dc0ffc8507aa8300bd49d0214b2e8cb4d3fef2943ba/ruff-0.16.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f11a8d11010301d0a398a2fdef67691feca7294da6aef55e2150e8fa2cd520b", size = 11400718, upload-time = "2026-07-23T19:11:09.233Z" }, + { url = "https://files.pythonhosted.org/packages/8e/a2/a54eb4eae05d66364050a5d3b8a9c5ef88196531b3cbe7109d873f87f819/ruff-0.16.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:48044c678e9cb8698246c99b14aaccfa6601dea7379eb48a6f8f73f7a6d86cd0", size = 11426177, upload-time = "2026-07-23T19:11:11.994Z" }, + { url = "https://files.pythonhosted.org/packages/1a/be/16e3eea4b2a478a496919f5e36f17c4559e54620bd3bbac5d6affa068006/ruff-0.16.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:7aa0959bad8eb8bef50340154fc9b58678dae31fa4293afa38b44b6e552c0213", size = 10856126, upload-time = "2026-07-23T19:11:14.221Z" }, + { url = "https://files.pythonhosted.org/packages/a2/84/252eb8b868a16eec7257c14f504f77537e734b2d69c762e639e588e304a3/ruff-0.16.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:28ea2b7df8ebf7f9da6b7d47b230ab48f387c0a29be3b474c4d0740e197bb9af", size = 10571208, upload-time = "2026-07-23T19:11:16.378Z" }, + { url = "https://files.pythonhosted.org/packages/21/09/817a482f542f7570cbb4554b26e896610c7114f539b1d9e2d2145bf6bef6/ruff-0.16.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:33a3dfac8c35f81498dea9181bccc2f4c4bc8f1521a1dd9406e77643e0f0fb09", size = 11063329, upload-time = "2026-07-23T19:11:19.173Z" }, + { url = "https://files.pythonhosted.org/packages/2e/23/9403c180ca1cb9b1f7335f5c3e5305c09d49ea5b345196682a36028bde4a/ruff-0.16.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:a5237a0bda500d30d81b8e07a6973a5cbc772864cbf746ae2f4e8a2e01c9f4ed", size = 11489751, upload-time = "2026-07-23T19:11:21.74Z" }, + { url = "https://files.pythonhosted.org/packages/b2/1d/1b2ef7bcde851c78d7f17f1cca13fd6dc695fc4b3d6197941e72cae5b132/ruff-0.16.0-py3-none-win32.whl", hash = "sha256:7fab76fa065c873f41ff744347c6e77bcc3dfec4bcc754dc26b63d23c0f7f5fb", size = 10785885, upload-time = "2026-07-23T19:11:23.947Z" }, + { url = "https://files.pythonhosted.org/packages/b2/a3/d5e4ef7a56be3f928ffb90b94c25ba7d3cb9c7fe0736aeaaedf361770712/ruff-0.16.0-py3-none-win_amd64.whl", hash = "sha256:429c117f022bf481fabd9d551e7a3952b24c65e6ef44337ea09d90bebef14472", size = 11923141, upload-time = "2026-07-23T19:11:26.409Z" }, + { url = "https://files.pythonhosted.org/packages/cb/9a/8415f2657cbe200f41a4531ccededf135505a92d4a012229121f885b26f9/ruff-0.16.0-py3-none-win_arm64.whl", hash = "sha256:14296fedcd2705c77ab8235439278bbb38f285cf7da5528b00b3e330c3d4872d", size = 11273407, upload-time = "2026-07-23T19:11:28.705Z" }, ] [[package]] From 0ad066c93a2280c1e69cd9ad7c9e51b9231594ac Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 21 Sep 2026 16:46:18 -0300 Subject: [PATCH 4/8] run pre-commit --- .../br_ibge_inpc/br_ibge_inpc__mes_brasil.sql | 1 + .../br_ibge_inpc__mes_categoria_brasil.sql | 1 + .../br_ibge_inpc__mes_categoria_municipio.sql | 1 + .../br_ibge_inpc__mes_categoria_rm.sql | 1 + .../br_ibge_ipca/br_ibge_ipca__mes_brasil.sql | 1 + .../br_ibge_ipca__mes_categoria_brasil.sql | 1 + .../br_ibge_ipca__mes_categoria_municipio.sql | 1 + .../br_ibge_ipca__mes_categoria_rm.sql | 1 + .../br_ibge_ipca15__mes_brasil.sql | 1 + .../br_ibge_ipca15__mes_categoria_brasil.sql | 1 + .../br_ibge_ipca15__mes_categoria_rm.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__adm.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__al.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__c_a.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__eap.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ef_a.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ef_b.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ef_c.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ef_d.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__effy.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__efia.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__f1a.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__f2.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__f3.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__flags.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__gr.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__gr200.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__hd.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ic.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ic_ay.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__ic_py.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__om.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__sal_is.sql | 1 + models/us_ed_ipeds/us_ed_ipeds__sfa.sql | 1 + .../world_wb_mides__orgao_unidade_gestora.sql | 1 + .../world_wb_mides__raw_anulacao_rj.sql | 1 + ...wb_mides__raw_despesa_ato_rj_municipio.sql | 1 + ...rld_wb_mides__raw_despesa_rj_municipio.sql | 1 + ...rld_wb_mides__raw_despesa_sp_municipio.sql | 1 + .../world_wb_mides__raw_empenho_df.sql | 1 + .../world_wb_mides__raw_empenho_rj.sql | 1 + .../world_wb_mides__raw_empenho_sc.sql | 1 + .../world_wb_mides__raw_liquidacao_df.sql | 1 + .../world_wb_mides__raw_liquidacao_rj.sql | 1 + .../world_wb_mides__raw_pagamento_df.sql | 1 + .../world_wb_mides__raw_pagamento_rj.sql | 1 + uv.lock | 42 +++++++++---------- 47 files changed, 67 insertions(+), 21 deletions(-) diff --git a/models/br_ibge_inpc/br_ibge_inpc__mes_brasil.sql b/models/br_ibge_inpc/br_ibge_inpc__mes_brasil.sql index 5b5e151ae..9050a0a2d 100644 --- a/models/br_ibge_inpc/br_ibge_inpc__mes_brasil.sql +++ b/models/br_ibge_inpc/br_ibge_inpc__mes_brasil.sql @@ -40,3 +40,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_brasil.sql b/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_brasil.sql index 484bd1fa5..60665a093 100644 --- a/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_brasil.sql +++ b/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_brasil.sql @@ -25,3 +25,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_municipio.sql b/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_municipio.sql index 76b7bc68a..594a5648a 100644 --- a/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_municipio.sql +++ b/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_municipio.sql @@ -29,3 +29,4 @@ left join date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_rm.sql b/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_rm.sql index d0790a909..20b8afc09 100644 --- a/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_rm.sql +++ b/models/br_ibge_inpc/br_ibge_inpc__mes_categoria_rm.sql @@ -28,3 +28,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca/br_ibge_ipca__mes_brasil.sql b/models/br_ibge_ipca/br_ibge_ipca__mes_brasil.sql index 3fe52968c..59fe5370b 100644 --- a/models/br_ibge_ipca/br_ibge_ipca__mes_brasil.sql +++ b/models/br_ibge_ipca/br_ibge_ipca__mes_brasil.sql @@ -42,3 +42,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_brasil.sql b/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_brasil.sql index bab377174..4fcd9962b 100644 --- a/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_brasil.sql +++ b/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_brasil.sql @@ -26,3 +26,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_municipio.sql b/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_municipio.sql index e7360082f..65bea474a 100644 --- a/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_municipio.sql +++ b/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_municipio.sql @@ -30,3 +30,4 @@ left join date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_rm.sql b/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_rm.sql index fbc39f704..b22c65a12 100644 --- a/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_rm.sql +++ b/models/br_ibge_ipca/br_ibge_ipca__mes_categoria_rm.sql @@ -29,3 +29,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca15/br_ibge_ipca15__mes_brasil.sql b/models/br_ibge_ipca15/br_ibge_ipca15__mes_brasil.sql index 1cabaa3c1..77e75d4c4 100644 --- a/models/br_ibge_ipca15/br_ibge_ipca15__mes_brasil.sql +++ b/models/br_ibge_ipca15/br_ibge_ipca15__mes_brasil.sql @@ -47,3 +47,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_brasil.sql b/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_brasil.sql index d66b514b4..44e1a1bfe 100644 --- a/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_brasil.sql +++ b/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_brasil.sql @@ -30,3 +30,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_rm.sql b/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_rm.sql index 5176284c7..7a006ba17 100644 --- a/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_rm.sql +++ b/models/br_ibge_ipca15/br_ibge_ipca15__mes_categoria_rm.sql @@ -28,3 +28,4 @@ from date(cast(ano as int64), cast(mes as int64), 1) > (select max(date(cast(ano as int64), cast(mes as int64), 1)) from {{ this }}) {% endif %} #} + diff --git a/models/us_ed_ipeds/us_ed_ipeds__adm.sql b/models/us_ed_ipeds/us_ed_ipeds__adm.sql index 658da1f51..b7f95ee06 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__adm.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__adm.sql @@ -127,3 +127,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.adm") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__al.sql b/models/us_ed_ipeds/us_ed_ipeds__al.sql index c081e7815..73b1dacaf 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__al.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__al.sql @@ -88,3 +88,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.al") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__c_a.sql b/models/us_ed_ipeds/us_ed_ipeds__c_a.sql index 51c1fb5af..04355680f 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__c_a.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__c_a.sql @@ -161,3 +161,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.c_a") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__eap.sql b/models/us_ed_ipeds/us_ed_ipeds__eap.sql index 35b4c2803..5993f8a4a 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__eap.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__eap.sql @@ -57,3 +57,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.eap") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ef_a.sql b/models/us_ed_ipeds/us_ed_ipeds__ef_a.sql index f6b0a5d6d..850f87861 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ef_a.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ef_a.sql @@ -172,3 +172,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ef_a") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ef_b.sql b/models/us_ed_ipeds/us_ed_ipeds__ef_b.sql index c2f337985..4fd17e8f3 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ef_b.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ef_b.sql @@ -41,3 +41,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ef_b") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ef_c.sql b/models/us_ed_ipeds/us_ed_ipeds__ef_c.sql index 59fee4bb7..d1089953b 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ef_c.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ef_c.sql @@ -25,3 +25,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ef_c") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ef_d.sql b/models/us_ed_ipeds/us_ed_ipeds__ef_d.sql index 3432518c1..a8b8f25f2 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ef_d.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ef_d.sql @@ -64,3 +64,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ef_d") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__effy.sql b/models/us_ed_ipeds/us_ed_ipeds__effy.sql index c09a68e11..82cd68ed7 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__effy.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__effy.sql @@ -168,3 +168,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.effy") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__efia.sql b/models/us_ed_ipeds/us_ed_ipeds__efia.sql index f6de09a21..ae7c44071 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__efia.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__efia.sql @@ -36,3 +36,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.efia") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__f1a.sql b/models/us_ed_ipeds/us_ed_ipeds__f1a.sql index 4856f3c55..d4d984372 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__f1a.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__f1a.sql @@ -538,3 +538,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.f1a") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__f2.sql b/models/us_ed_ipeds/us_ed_ipeds__f2.sql index ef538783e..698038505 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__f2.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__f2.sql @@ -494,3 +494,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.f2") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__f3.sql b/models/us_ed_ipeds/us_ed_ipeds__f3.sql index 9c73cb4e9..2a2fff9c3 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__f3.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__f3.sql @@ -346,3 +346,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.f3") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__flags.sql b/models/us_ed_ipeds/us_ed_ipeds__flags.sql index 37a963bb1..23f74e3ab 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__flags.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__flags.sql @@ -197,3 +197,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.flags") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__gr.sql b/models/us_ed_ipeds/us_ed_ipeds__gr.sql index a81368bef..94e1a0890 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__gr.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__gr.sql @@ -162,3 +162,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.gr") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__gr200.sql b/models/us_ed_ipeds/us_ed_ipeds__gr200.sql index 467f2954e..2893f310a 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__gr200.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__gr200.sql @@ -71,3 +71,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.gr200") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__hd.sql b/models/us_ed_ipeds/us_ed_ipeds__hd.sql index c22c7592c..a590cbd54 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__hd.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__hd.sql @@ -225,3 +225,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.hd") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ic.sql b/models/us_ed_ipeds/us_ed_ipeds__ic.sql index 359316f77..a4d99a907 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ic.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ic.sql @@ -267,3 +267,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ic") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ic_ay.sql b/models/us_ed_ipeds/us_ed_ipeds__ic_ay.sql index 8e76532e6..79a510d41 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ic_ay.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ic_ay.sql @@ -311,3 +311,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ic_ay") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__ic_py.sql b/models/us_ed_ipeds/us_ed_ipeds__ic_py.sql index c2972d4d8..ba60f4e63 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__ic_py.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__ic_py.sql @@ -151,3 +151,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.ic_py") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__om.sql b/models/us_ed_ipeds/us_ed_ipeds__om.sql index b45f39dc8..f3222e3bb 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__om.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__om.sql @@ -85,3 +85,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.om") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__sal_is.sql b/models/us_ed_ipeds/us_ed_ipeds__sal_is.sql index 6b2bf4239..1b62d6ff4 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__sal_is.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__sal_is.sql @@ -140,3 +140,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.sal_is") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/us_ed_ipeds/us_ed_ipeds__sfa.sql b/models/us_ed_ipeds/us_ed_ipeds__sfa.sql index f3331bb09..2c6861ef5 100644 --- a/models/us_ed_ipeds/us_ed_ipeds__sfa.sql +++ b/models/us_ed_ipeds/us_ed_ipeds__sfa.sql @@ -729,3 +729,4 @@ select from {{ set_datalake_project("us_ed_ipeds_staging.sfa") }} as t -- rematerialize us_ed_ipeds (table-approve re-trigger) + diff --git a/models/world_wb_mides/world_wb_mides__orgao_unidade_gestora.sql b/models/world_wb_mides/world_wb_mides__orgao_unidade_gestora.sql index fbdc604eb..df4d5554d 100644 --- a/models/world_wb_mides/world_wb_mides__orgao_unidade_gestora.sql +++ b/models/world_wb_mides/world_wb_mides__orgao_unidade_gestora.sql @@ -20,3 +20,4 @@ from {{ set_datalake_project("world_wb_mides_staging.orgao_unidade_gestora") }} as t -- contém 10 UFs: CE, DF, MG, PB, PE, PR, RJ, RS, SC, SP + diff --git a/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql b/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql +++ b/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql b/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql +++ b/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql b/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql +++ b/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql b/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql +++ b/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql b/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql +++ b/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql b/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql +++ b/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql b/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql +++ b/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql b/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql +++ b/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql b/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql +++ b/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql b/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql +++ b/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql @@ -1 +1,2 @@ -- update_data + diff --git a/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql b/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql index e70096c04..53d94721e 100644 --- a/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql +++ b/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql @@ -1 +1,2 @@ -- update_data + diff --git a/uv.lock b/uv.lock index 841220763..a6a95f9a4 100644 --- a/uv.lock +++ b/uv.lock @@ -5044,27 +5044,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.16.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/4d/94/1e5e4967626faf12fa56999cd6222dff6992ceb086ad7945756baf70c7a7/ruff-0.16.0.tar.gz", hash = "sha256:e460aafd5495ec89efaa6ced2e4a9a581116451e1c88b9d37ef497e0f8e93982", size = 4790557, upload-time = "2026-07-23T19:11:30.981Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/4b/81/1c8818fee7ce1a04cd7d1b3172e0a8f8e4f1dc4feb7fc390e16daa8af323/ruff-0.16.0-py3-none-linux_armv6l.whl", hash = "sha256:e5115729eb08c585e5121978ba5d5b60caeae394ce21b9fb5e6cd33a1c6c9b1e", size = 10754633, upload-time = "2026-07-23T19:10:46.415Z" }, - { url = "https://files.pythonhosted.org/packages/23/df/beaf59c09d68db84304d555f188b276a77132a5d5b0b67a5c762aa143628/ruff-0.16.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:3c954b1d580bfa035b41654f7858cc7e71d5fc3ac5b723dd62bd9133830ed522", size = 10969164, upload-time = "2026-07-23T19:10:50.271Z" }, - { url = "https://files.pythonhosted.org/packages/42/ce/741cd197496a1abbf51352710fd15ed995d2a2be87189c1da26a450d6e83/ruff-0.16.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e01c21d10eb1b29f47b7454e1f4056db9a3f0260c646aa88457c610291db9f81", size = 10488846, upload-time = "2026-07-23T19:10:52.639Z" }, - { url = "https://files.pythonhosted.org/packages/52/2a/a2db8e88cade358f5cdcb05674a917751074109315d014eb6352d9a893f7/ruff-0.16.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e364e5ed22ed8dc05082fd78e35308618260907ac2d3c1d637b2e682415b6c9", size = 10889729, upload-time = "2026-07-23T19:10:54.89Z" }, - { url = "https://files.pythonhosted.org/packages/42/65/62a771694ebd63029dc953e27dbad40e1588bd4860ff9fe881018fddaa49/ruff-0.16.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d327b8fc113a1d4421a04f3839d3752057c8dd1ee320223a6f3f52d04ada462a", size = 10568275, upload-time = "2026-07-23T19:10:56.993Z" }, - { url = "https://files.pythonhosted.org/packages/3f/e2/ced249fe8af5f086c5c58cc21cc3356d50f32f7401c5df87050c999620a7/ruff-0.16.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9b50c55e263103586b3dcf5f73d479eb8cb5fdb6098fec59a62891dab653717", size = 11385112, upload-time = "2026-07-23T19:10:59.615Z" }, - { url = "https://files.pythonhosted.org/packages/87/0b/05154977a8fd69eeb6c103271f55403bfd8711f5c0f8ed07489d95a504e7/ruff-0.16.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0ff4a79ce3ec0172f3241943835de1c4cb4e2dcd07f0f8c2d02603dbbbee4b17", size = 12207008, upload-time = "2026-07-23T19:11:02.154Z" }, - { url = "https://files.pythonhosted.org/packages/fb/29/98225831a3a1eab0e02f4acc6ca6559a98611dcc68b6965ff4b7234627c1/ruff-0.16.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e95c448fca1fb2a18372a9440926c5a6ee789639bb975c72e7ae6d0b04218ab4", size = 11650842, upload-time = "2026-07-23T19:11:04.557Z" }, - { url = "https://files.pythonhosted.org/packages/91/66/6bd3cf90500653d55dc0ffc8507aa8300bd49d0214b2e8cb4d3fef2943ba/ruff-0.16.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f11a8d11010301d0a398a2fdef67691feca7294da6aef55e2150e8fa2cd520b", size = 11400718, upload-time = "2026-07-23T19:11:09.233Z" }, - { url = "https://files.pythonhosted.org/packages/8e/a2/a54eb4eae05d66364050a5d3b8a9c5ef88196531b3cbe7109d873f87f819/ruff-0.16.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:48044c678e9cb8698246c99b14aaccfa6601dea7379eb48a6f8f73f7a6d86cd0", size = 11426177, upload-time = "2026-07-23T19:11:11.994Z" }, - { url = "https://files.pythonhosted.org/packages/1a/be/16e3eea4b2a478a496919f5e36f17c4559e54620bd3bbac5d6affa068006/ruff-0.16.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:7aa0959bad8eb8bef50340154fc9b58678dae31fa4293afa38b44b6e552c0213", size = 10856126, upload-time = "2026-07-23T19:11:14.221Z" }, - { url = "https://files.pythonhosted.org/packages/a2/84/252eb8b868a16eec7257c14f504f77537e734b2d69c762e639e588e304a3/ruff-0.16.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:28ea2b7df8ebf7f9da6b7d47b230ab48f387c0a29be3b474c4d0740e197bb9af", size = 10571208, upload-time = "2026-07-23T19:11:16.378Z" }, - { url = "https://files.pythonhosted.org/packages/21/09/817a482f542f7570cbb4554b26e896610c7114f539b1d9e2d2145bf6bef6/ruff-0.16.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:33a3dfac8c35f81498dea9181bccc2f4c4bc8f1521a1dd9406e77643e0f0fb09", size = 11063329, upload-time = "2026-07-23T19:11:19.173Z" }, - { url = "https://files.pythonhosted.org/packages/2e/23/9403c180ca1cb9b1f7335f5c3e5305c09d49ea5b345196682a36028bde4a/ruff-0.16.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:a5237a0bda500d30d81b8e07a6973a5cbc772864cbf746ae2f4e8a2e01c9f4ed", size = 11489751, upload-time = "2026-07-23T19:11:21.74Z" }, - { url = "https://files.pythonhosted.org/packages/b2/1d/1b2ef7bcde851c78d7f17f1cca13fd6dc695fc4b3d6197941e72cae5b132/ruff-0.16.0-py3-none-win32.whl", hash = "sha256:7fab76fa065c873f41ff744347c6e77bcc3dfec4bcc754dc26b63d23c0f7f5fb", size = 10785885, upload-time = "2026-07-23T19:11:23.947Z" }, - { url = "https://files.pythonhosted.org/packages/b2/a3/d5e4ef7a56be3f928ffb90b94c25ba7d3cb9c7fe0736aeaaedf361770712/ruff-0.16.0-py3-none-win_amd64.whl", hash = "sha256:429c117f022bf481fabd9d551e7a3952b24c65e6ef44337ea09d90bebef14472", size = 11923141, upload-time = "2026-07-23T19:11:26.409Z" }, - { url = "https://files.pythonhosted.org/packages/cb/9a/8415f2657cbe200f41a4531ccededf135505a92d4a012229121f885b26f9/ruff-0.16.0-py3-none-win_arm64.whl", hash = "sha256:14296fedcd2705c77ab8235439278bbb38f285cf7da5528b00b3e330c3d4872d", size = 11273407, upload-time = "2026-07-23T19:11:28.705Z" }, +version = "0.16.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/78/449cb84790bd5cc3823b2652ee405a4558856e5c4195aee3a16bf7b3eb5d/ruff-0.16.8.tar.gz", hash = "sha256:9247bf92b5f04d825c8639a4fe423ec2e4222acd9222e58412b0dab7e442798b", size = 4938814, upload-time = "2026-09-16T15:54:46.688Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ac/25/6071aabc530e9be7e2c195e8fe3f7aea2735405b6cf447212832d7811831/ruff-0.16.8-py3-none-linux_armv6l.whl", hash = "sha256:6ffbd6d87383c1edf5f6fa890f10200950240d7c1a16052a19a09d3a2307dd38", size = 10048966, upload-time = "2026-09-16T15:53:57.605Z" }, + { url = "https://files.pythonhosted.org/packages/54/98/07f90ecbc74dd5fb5764f11f2bc774d6a7cffef92d2ff5f5b4e9e23c754e/ruff-0.16.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:42ed6b878ed61e3acca92f2730a17acff39286944ea82398544696366a6f925e", size = 10165498, upload-time = "2026-09-16T15:54:01.14Z" }, + { url = "https://files.pythonhosted.org/packages/fe/1f/e6a712e3b47cad4a40600134105ed193cb773f618a42eb7ba323cb812cc0/ruff-0.16.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7ea781c7f2afba8c6a505ea0fb3f994020249e0c450635f5381286fea6b46170", size = 9830004, upload-time = "2026-09-16T15:54:03.998Z" }, + { url = "https://files.pythonhosted.org/packages/23/f2/311a08776d75d81c7676e20b6b020ae63cbe881fcdc7a8dd64e6e18bdd93/ruff-0.16.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8efeae3bbe414a5efefda11a792dfb51ef90ac48d50c4830de2f644caf3e8659", size = 9986558, upload-time = "2026-09-16T15:54:06.804Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ed/37b6cb3d3ba8c73e68ae3eb1d502383beb5aa05a582bb7bb3a922f929f54/ruff-0.16.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a79b795469fef7fc6e908b218eed2eb17332afd85031db6480dc864560e69b2", size = 9877332, upload-time = "2026-09-16T15:54:09.552Z" }, + { url = "https://files.pythonhosted.org/packages/22/cc/40873a8f36ad084cc540d55fcca7077264d5b13b24659e9180c176fb2b08/ruff-0.16.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fdc5563cdc50555e6fba39322850860e9267c1b3d12c26a74729d8604c3c812", size = 10507125, upload-time = "2026-09-16T15:54:12.152Z" }, + { url = "https://files.pythonhosted.org/packages/c3/e4/fc91a642b78ccbab6b9477720f3644ae7a10a9bcce69a934679cd64f62bc/ruff-0.16.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:34508983c70665578dab88f5223d8e6228307e1135398ca8bfc8b7e9501e282b", size = 11336694, upload-time = "2026-09-16T15:54:15.489Z" }, + { url = "https://files.pythonhosted.org/packages/c2/3d/bbd2a9a600a4e73dc3e7548a249c8d1671273464b55822c6fae50f602dff/ruff-0.16.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:644bb578569e0ffc575741232bd385dacdd6fbe123f1a729e7a225f54aa3957f", size = 10774448, upload-time = "2026-09-16T15:54:18.16Z" }, + { url = "https://files.pythonhosted.org/packages/1a/41/d83af9879a7b6e8bf5fe16b1da0b134049d2f5d3afac12defb0897cb84bd/ruff-0.16.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15e7d226246961db9235098333caa13063906d3851136b84c2900b82f5daa1df", size = 10323796, upload-time = "2026-09-16T15:54:20.743Z" }, + { url = "https://files.pythonhosted.org/packages/f5/2c/cefd07bfe914b84943ea769ade8d607bd22750b965d3228eefd7cebd15d0/ruff-0.16.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:a2bf6bc3e9ebdd4449abc6f06cf64b98051a2c61cf94d2fe9596518c881f1a1e", size = 10514115, upload-time = "2026-09-16T15:54:23.497Z" }, + { url = "https://files.pythonhosted.org/packages/f3/9d/76a2e26c79a23be6e6e3664c57bec9e9fc8de155cfb9e4b67ea91b64f9d7/ruff-0.16.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6ca111ba0849539165e9e59d2b442542f3c1e8060ebbdea82494f1ffbccb1e1f", size = 10072582, upload-time = "2026-09-16T15:54:26.185Z" }, + { url = "https://files.pythonhosted.org/packages/2e/d4/f42edddb39668af1a559ceafa3823aedd65633a48dc9768e775485faa2c1/ruff-0.16.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:359a1e5b495448ee1e91018064382ebc86f90e8aac2fed222c7d0e4e8df85fd2", size = 9879644, upload-time = "2026-09-16T15:54:29.278Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d4/913e3195d95e0378786c6656945c865f534a3560e29139da4882aff630d1/ruff-0.16.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:59e8f5681349474110b24d62e93cfda6593f5fa3473446ca3705200cac1a08b9", size = 10231569, upload-time = "2026-09-16T15:54:32.036Z" }, + { url = "https://files.pythonhosted.org/packages/2b/c4/8aa6ea0bdcedbd1bf87397e2fc4ed8406448ea5842f8660bc6e5f163039d/ruff-0.16.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:efa3e7a16d1baaa79957888dfdf8be9ef2e44db81cb032af06d76632ab59e773", size = 10663666, upload-time = "2026-09-16T15:54:34.838Z" }, + { url = "https://files.pythonhosted.org/packages/3d/02/7f10ef4700bc223c30a3fdd10631a29830c45524b810a3c7ed947af64591/ruff-0.16.8-py3-none-win32.whl", hash = "sha256:55793ba85c69921e89be061426d91a78652d6e50317c962240922747a4eb713f", size = 10093472, upload-time = "2026-09-16T15:54:37.47Z" }, + { url = "https://files.pythonhosted.org/packages/1e/5d/a509c07d714b6da88f2c518b4637cf6f1d46b074be8f0f1e5fb9ff5126fe/ruff-0.16.8-py3-none-win_amd64.whl", hash = "sha256:a6b85621fd3c81e31fc5f5add09c9c078b430db3595ca632efafdec9e64ebfaa", size = 10586899, upload-time = "2026-09-16T15:54:40.488Z" }, + { url = "https://files.pythonhosted.org/packages/fe/a0/50787329e4f20bf9dc9f6230015d46ec69c51a97ace5bc202dae4755365d/ruff-0.16.8-py3-none-win_arm64.whl", hash = "sha256:d075e820af612102ce217f07cc93e69f9490b10ec13ea85fa87bd03d996cef8a", size = 10386316, upload-time = "2026-09-16T15:54:43.332Z" }, ] [[package]] From 2ca86d8c279d2d9734cf0dd9dfff8b0da1b9793f Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 21 Sep 2026 16:54:47 -0300 Subject: [PATCH 5/8] update --- .pre-commit-config.yaml | 6 +++--- uv.lock | 42 ++++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93a101d5e..ab553b987 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,11 +18,11 @@ repos: args: [--fix=lf] # Ensures all line endings are LF - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.11.32 + rev: 0.12.17 hooks: - id: uv-lock - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.0 + rev: v0.16.8 hooks: - id: ruff-check args: [--fix] @@ -39,7 +39,7 @@ repos: - --exclude - target/**/* - repo: https://github.com/tconbeer/sqlfmt - rev: v0.27.0 + rev: v0.32.0 hooks: - id: sqlfmt language_version: python diff --git a/uv.lock b/uv.lock index 8174eab38..db22c9853 100644 --- a/uv.lock +++ b/uv.lock @@ -5161,27 +5161,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.16.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/4d/94/1e5e4967626faf12fa56999cd6222dff6992ceb086ad7945756baf70c7a7/ruff-0.16.0.tar.gz", hash = "sha256:e460aafd5495ec89efaa6ced2e4a9a581116451e1c88b9d37ef497e0f8e93982", size = 4790557, upload-time = "2026-07-23T19:11:30.981Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/4b/81/1c8818fee7ce1a04cd7d1b3172e0a8f8e4f1dc4feb7fc390e16daa8af323/ruff-0.16.0-py3-none-linux_armv6l.whl", hash = "sha256:e5115729eb08c585e5121978ba5d5b60caeae394ce21b9fb5e6cd33a1c6c9b1e", size = 10754633, upload-time = "2026-07-23T19:10:46.415Z" }, - { url = "https://files.pythonhosted.org/packages/23/df/beaf59c09d68db84304d555f188b276a77132a5d5b0b67a5c762aa143628/ruff-0.16.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:3c954b1d580bfa035b41654f7858cc7e71d5fc3ac5b723dd62bd9133830ed522", size = 10969164, upload-time = "2026-07-23T19:10:50.271Z" }, - { url = "https://files.pythonhosted.org/packages/42/ce/741cd197496a1abbf51352710fd15ed995d2a2be87189c1da26a450d6e83/ruff-0.16.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e01c21d10eb1b29f47b7454e1f4056db9a3f0260c646aa88457c610291db9f81", size = 10488846, upload-time = "2026-07-23T19:10:52.639Z" }, - { url = "https://files.pythonhosted.org/packages/52/2a/a2db8e88cade358f5cdcb05674a917751074109315d014eb6352d9a893f7/ruff-0.16.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e364e5ed22ed8dc05082fd78e35308618260907ac2d3c1d637b2e682415b6c9", size = 10889729, upload-time = "2026-07-23T19:10:54.89Z" }, - { url = "https://files.pythonhosted.org/packages/42/65/62a771694ebd63029dc953e27dbad40e1588bd4860ff9fe881018fddaa49/ruff-0.16.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d327b8fc113a1d4421a04f3839d3752057c8dd1ee320223a6f3f52d04ada462a", size = 10568275, upload-time = "2026-07-23T19:10:56.993Z" }, - { url = "https://files.pythonhosted.org/packages/3f/e2/ced249fe8af5f086c5c58cc21cc3356d50f32f7401c5df87050c999620a7/ruff-0.16.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9b50c55e263103586b3dcf5f73d479eb8cb5fdb6098fec59a62891dab653717", size = 11385112, upload-time = "2026-07-23T19:10:59.615Z" }, - { url = "https://files.pythonhosted.org/packages/87/0b/05154977a8fd69eeb6c103271f55403bfd8711f5c0f8ed07489d95a504e7/ruff-0.16.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0ff4a79ce3ec0172f3241943835de1c4cb4e2dcd07f0f8c2d02603dbbbee4b17", size = 12207008, upload-time = "2026-07-23T19:11:02.154Z" }, - { url = "https://files.pythonhosted.org/packages/fb/29/98225831a3a1eab0e02f4acc6ca6559a98611dcc68b6965ff4b7234627c1/ruff-0.16.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e95c448fca1fb2a18372a9440926c5a6ee789639bb975c72e7ae6d0b04218ab4", size = 11650842, upload-time = "2026-07-23T19:11:04.557Z" }, - { url = "https://files.pythonhosted.org/packages/91/66/6bd3cf90500653d55dc0ffc8507aa8300bd49d0214b2e8cb4d3fef2943ba/ruff-0.16.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f11a8d11010301d0a398a2fdef67691feca7294da6aef55e2150e8fa2cd520b", size = 11400718, upload-time = "2026-07-23T19:11:09.233Z" }, - { url = "https://files.pythonhosted.org/packages/8e/a2/a54eb4eae05d66364050a5d3b8a9c5ef88196531b3cbe7109d873f87f819/ruff-0.16.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:48044c678e9cb8698246c99b14aaccfa6601dea7379eb48a6f8f73f7a6d86cd0", size = 11426177, upload-time = "2026-07-23T19:11:11.994Z" }, - { url = "https://files.pythonhosted.org/packages/1a/be/16e3eea4b2a478a496919f5e36f17c4559e54620bd3bbac5d6affa068006/ruff-0.16.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:7aa0959bad8eb8bef50340154fc9b58678dae31fa4293afa38b44b6e552c0213", size = 10856126, upload-time = "2026-07-23T19:11:14.221Z" }, - { url = "https://files.pythonhosted.org/packages/a2/84/252eb8b868a16eec7257c14f504f77537e734b2d69c762e639e588e304a3/ruff-0.16.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:28ea2b7df8ebf7f9da6b7d47b230ab48f387c0a29be3b474c4d0740e197bb9af", size = 10571208, upload-time = "2026-07-23T19:11:16.378Z" }, - { url = "https://files.pythonhosted.org/packages/21/09/817a482f542f7570cbb4554b26e896610c7114f539b1d9e2d2145bf6bef6/ruff-0.16.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:33a3dfac8c35f81498dea9181bccc2f4c4bc8f1521a1dd9406e77643e0f0fb09", size = 11063329, upload-time = "2026-07-23T19:11:19.173Z" }, - { url = "https://files.pythonhosted.org/packages/2e/23/9403c180ca1cb9b1f7335f5c3e5305c09d49ea5b345196682a36028bde4a/ruff-0.16.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:a5237a0bda500d30d81b8e07a6973a5cbc772864cbf746ae2f4e8a2e01c9f4ed", size = 11489751, upload-time = "2026-07-23T19:11:21.74Z" }, - { url = "https://files.pythonhosted.org/packages/b2/1d/1b2ef7bcde851c78d7f17f1cca13fd6dc695fc4b3d6197941e72cae5b132/ruff-0.16.0-py3-none-win32.whl", hash = "sha256:7fab76fa065c873f41ff744347c6e77bcc3dfec4bcc754dc26b63d23c0f7f5fb", size = 10785885, upload-time = "2026-07-23T19:11:23.947Z" }, - { url = "https://files.pythonhosted.org/packages/b2/a3/d5e4ef7a56be3f928ffb90b94c25ba7d3cb9c7fe0736aeaaedf361770712/ruff-0.16.0-py3-none-win_amd64.whl", hash = "sha256:429c117f022bf481fabd9d551e7a3952b24c65e6ef44337ea09d90bebef14472", size = 11923141, upload-time = "2026-07-23T19:11:26.409Z" }, - { url = "https://files.pythonhosted.org/packages/cb/9a/8415f2657cbe200f41a4531ccededf135505a92d4a012229121f885b26f9/ruff-0.16.0-py3-none-win_arm64.whl", hash = "sha256:14296fedcd2705c77ab8235439278bbb38f285cf7da5528b00b3e330c3d4872d", size = 11273407, upload-time = "2026-07-23T19:11:28.705Z" }, +version = "0.16.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/78/449cb84790bd5cc3823b2652ee405a4558856e5c4195aee3a16bf7b3eb5d/ruff-0.16.8.tar.gz", hash = "sha256:9247bf92b5f04d825c8639a4fe423ec2e4222acd9222e58412b0dab7e442798b", size = 4938814, upload-time = "2026-09-16T15:54:46.688Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ac/25/6071aabc530e9be7e2c195e8fe3f7aea2735405b6cf447212832d7811831/ruff-0.16.8-py3-none-linux_armv6l.whl", hash = "sha256:6ffbd6d87383c1edf5f6fa890f10200950240d7c1a16052a19a09d3a2307dd38", size = 10048966, upload-time = "2026-09-16T15:53:57.605Z" }, + { url = "https://files.pythonhosted.org/packages/54/98/07f90ecbc74dd5fb5764f11f2bc774d6a7cffef92d2ff5f5b4e9e23c754e/ruff-0.16.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:42ed6b878ed61e3acca92f2730a17acff39286944ea82398544696366a6f925e", size = 10165498, upload-time = "2026-09-16T15:54:01.14Z" }, + { url = "https://files.pythonhosted.org/packages/fe/1f/e6a712e3b47cad4a40600134105ed193cb773f618a42eb7ba323cb812cc0/ruff-0.16.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7ea781c7f2afba8c6a505ea0fb3f994020249e0c450635f5381286fea6b46170", size = 9830004, upload-time = "2026-09-16T15:54:03.998Z" }, + { url = "https://files.pythonhosted.org/packages/23/f2/311a08776d75d81c7676e20b6b020ae63cbe881fcdc7a8dd64e6e18bdd93/ruff-0.16.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8efeae3bbe414a5efefda11a792dfb51ef90ac48d50c4830de2f644caf3e8659", size = 9986558, upload-time = "2026-09-16T15:54:06.804Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ed/37b6cb3d3ba8c73e68ae3eb1d502383beb5aa05a582bb7bb3a922f929f54/ruff-0.16.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a79b795469fef7fc6e908b218eed2eb17332afd85031db6480dc864560e69b2", size = 9877332, upload-time = "2026-09-16T15:54:09.552Z" }, + { url = "https://files.pythonhosted.org/packages/22/cc/40873a8f36ad084cc540d55fcca7077264d5b13b24659e9180c176fb2b08/ruff-0.16.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fdc5563cdc50555e6fba39322850860e9267c1b3d12c26a74729d8604c3c812", size = 10507125, upload-time = "2026-09-16T15:54:12.152Z" }, + { url = "https://files.pythonhosted.org/packages/c3/e4/fc91a642b78ccbab6b9477720f3644ae7a10a9bcce69a934679cd64f62bc/ruff-0.16.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:34508983c70665578dab88f5223d8e6228307e1135398ca8bfc8b7e9501e282b", size = 11336694, upload-time = "2026-09-16T15:54:15.489Z" }, + { url = "https://files.pythonhosted.org/packages/c2/3d/bbd2a9a600a4e73dc3e7548a249c8d1671273464b55822c6fae50f602dff/ruff-0.16.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:644bb578569e0ffc575741232bd385dacdd6fbe123f1a729e7a225f54aa3957f", size = 10774448, upload-time = "2026-09-16T15:54:18.16Z" }, + { url = "https://files.pythonhosted.org/packages/1a/41/d83af9879a7b6e8bf5fe16b1da0b134049d2f5d3afac12defb0897cb84bd/ruff-0.16.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15e7d226246961db9235098333caa13063906d3851136b84c2900b82f5daa1df", size = 10323796, upload-time = "2026-09-16T15:54:20.743Z" }, + { url = "https://files.pythonhosted.org/packages/f5/2c/cefd07bfe914b84943ea769ade8d607bd22750b965d3228eefd7cebd15d0/ruff-0.16.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:a2bf6bc3e9ebdd4449abc6f06cf64b98051a2c61cf94d2fe9596518c881f1a1e", size = 10514115, upload-time = "2026-09-16T15:54:23.497Z" }, + { url = "https://files.pythonhosted.org/packages/f3/9d/76a2e26c79a23be6e6e3664c57bec9e9fc8de155cfb9e4b67ea91b64f9d7/ruff-0.16.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6ca111ba0849539165e9e59d2b442542f3c1e8060ebbdea82494f1ffbccb1e1f", size = 10072582, upload-time = "2026-09-16T15:54:26.185Z" }, + { url = "https://files.pythonhosted.org/packages/2e/d4/f42edddb39668af1a559ceafa3823aedd65633a48dc9768e775485faa2c1/ruff-0.16.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:359a1e5b495448ee1e91018064382ebc86f90e8aac2fed222c7d0e4e8df85fd2", size = 9879644, upload-time = "2026-09-16T15:54:29.278Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d4/913e3195d95e0378786c6656945c865f534a3560e29139da4882aff630d1/ruff-0.16.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:59e8f5681349474110b24d62e93cfda6593f5fa3473446ca3705200cac1a08b9", size = 10231569, upload-time = "2026-09-16T15:54:32.036Z" }, + { url = "https://files.pythonhosted.org/packages/2b/c4/8aa6ea0bdcedbd1bf87397e2fc4ed8406448ea5842f8660bc6e5f163039d/ruff-0.16.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:efa3e7a16d1baaa79957888dfdf8be9ef2e44db81cb032af06d76632ab59e773", size = 10663666, upload-time = "2026-09-16T15:54:34.838Z" }, + { url = "https://files.pythonhosted.org/packages/3d/02/7f10ef4700bc223c30a3fdd10631a29830c45524b810a3c7ed947af64591/ruff-0.16.8-py3-none-win32.whl", hash = "sha256:55793ba85c69921e89be061426d91a78652d6e50317c962240922747a4eb713f", size = 10093472, upload-time = "2026-09-16T15:54:37.47Z" }, + { url = "https://files.pythonhosted.org/packages/1e/5d/a509c07d714b6da88f2c518b4637cf6f1d46b074be8f0f1e5fb9ff5126fe/ruff-0.16.8-py3-none-win_amd64.whl", hash = "sha256:a6b85621fd3c81e31fc5f5add09c9c078b430db3595ca632efafdec9e64ebfaa", size = 10586899, upload-time = "2026-09-16T15:54:40.488Z" }, + { url = "https://files.pythonhosted.org/packages/fe/a0/50787329e4f20bf9dc9f6230015d46ec69c51a97ace5bc202dae4755365d/ruff-0.16.8-py3-none-win_arm64.whl", hash = "sha256:d075e820af612102ce217f07cc93e69f9490b10ec13ea85fa87bd03d996cef8a", size = 10386316, upload-time = "2026-09-16T15:54:43.332Z" }, ] [[package]] From 0302bb151d0c2bda390980f9de022fb7f9419791 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 21 Sep 2026 17:01:18 -0300 Subject: [PATCH 6/8] update --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab553b987..34c63a6ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - --exclude - target/**/* - repo: https://github.com/tconbeer/sqlfmt - rev: v0.32.0 + rev: v0.27.0 # Keep sync with pyproject.toml hooks: - id: sqlfmt language_version: python From 9173ebbc2d489ae897c1e19f02b3e1516fb5a4ab Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2026 20:02:48 +0000 Subject: [PATCH 7/8] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .claude/rules/prefect-pipeline-conventions.md | 2 +- pipelines/datasets/br_me_comex_stat/README.md | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.claude/rules/prefect-pipeline-conventions.md b/.claude/rules/prefect-pipeline-conventions.md index 1036630f3..02f75c1ae 100644 --- a/.claude/rules/prefect-pipeline-conventions.md +++ b/.claude/rules/prefect-pipeline-conventions.md @@ -305,7 +305,7 @@ my_flow.deploy_schedules = [ ] my_flow.job_variables = { "memory": "8Gi", - "memory_limit": "8Gi", # <- the one the pod actually gets + "memory_limit": "8Gi", # <- the one the pod actually gets "memory_request": "2Gi", } # optional; size to the clean step's peak RAM ``` diff --git a/pipelines/datasets/br_me_comex_stat/README.md b/pipelines/datasets/br_me_comex_stat/README.md index bff3ef665..5f3c25510 100644 --- a/pipelines/datasets/br_me_comex_stat/README.md +++ b/pipelines/datasets/br_me_comex_stat/README.md @@ -138,10 +138,12 @@ O flow passou para o modelo de reconciliação de cobertura `br_me_caged`: ```python -register_source_coverage_task(...) # grava o Poll e avança RawSource.Update -check_source_is_ahead_of_table_task(...) # gate: RawSource.Update > Table.Update +register_source_coverage_task(...) # grava o Poll e avança RawSource.Update +check_source_is_ahead_of_table_task( + ... +) # gate: RawSource.Update > Table.Update ... -sync_table_coverage_task(...) # cobertura + RAPs + Table.Update como cobertura +sync_table_coverage_task(...) # cobertura + RAPs + Table.Update como cobertura ``` Agora os dois lados da comparação são data de cobertura. O `commit_source_update_task` @@ -235,8 +237,12 @@ funciona. Para checar a descoberta localmente, importe com um shim: ```python import enum + if not hasattr(enum, "StrEnum"): - class StrEnum(str, enum.Enum): pass + + class StrEnum(str, enum.Enum): + pass + enum.StrEnum = StrEnum ``` From 36110e0b525dc17200dad1032dfceb90da70b22c Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 21 Sep 2026 17:04:46 -0300 Subject: [PATCH 8/8] delete files --- models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql | 2 -- .../world_wb_mides__raw_despesa_ato_rj_municipio.sql | 2 -- .../world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql | 2 -- .../world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_empenho_df.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql | 2 -- models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql | 2 -- 11 files changed, 22 deletions(-) delete mode 100644 models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_empenho_df.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql delete mode 100644 models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql diff --git a/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql b/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_anulacao_rj.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql b/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_despesa_ato_rj_municipio.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql b/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_despesa_rj_municipio.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql b/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_despesa_sp_municipio.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql b/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_empenho_df.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql b/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_empenho_rj.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql b/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_empenho_sc.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql b/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_liquidacao_df.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql b/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_liquidacao_rj.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql b/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_pagamento_df.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data - diff --git a/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql b/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql deleted file mode 100644 index 53d94721e..000000000 --- a/models/world_wb_mides/world_wb_mides__raw_pagamento_rj.sql +++ /dev/null @@ -1,2 +0,0 @@ --- update_data -