From 3b3e57edf064a5652183a4ba232f0c050ba996f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Rom=C3=A1n?= Date: Sat, 28 Nov 2026 21:46:19 -0800 Subject: [PATCH] chore: update dev requirements --- .devcontainer.json | 4 ++-- .pre-commit-config.yaml | 2 ++ CONTRIBUTING.md | 2 +- requirements.in | 2 +- requirements.txt | 6 +++--- src/system/tag.py | 3 ++- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.devcontainer.json b/.devcontainer.json index 0e1459e..f5693bc 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -21,7 +21,7 @@ } }, "postCreateCommand": { - "pre-commit": "pre-commit install --hook-type pre-commit --hook-type commit-msg --hook-type pre-push", + "pre-commit": "pre-commit install", "dev-requirements": "python2 -m pip install --requirement requirements.txt" } -} \ No newline at end of file +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b9eed8..feea26e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -76,3 +76,5 @@ repos: language: system files: ^src/ types: [python] + +default_install_hook_types: [pre-commit, pre-push, commit-msg] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d16a1dc..bbe9f44 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,7 +49,7 @@ help us maintain consistent and meaningful commit messages. 1. Install the git hook scripts ```sh - pre-commit install --hook-type pre-commit --hook-type commit-msg --hook-type pre-push + pre-commit install ``` 1. [`tox`] diff --git a/requirements.in b/requirements.in index 7fbb8b5..bf02c5e 100644 --- a/requirements.in +++ b/requirements.in @@ -1,2 +1,2 @@ enum34 -java-api>17,<21 +java-api>25 diff --git a/requirements.txt b/requirements.txt index 824d7a5..35cf165 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,9 +9,9 @@ enum34==1.1.10 \ --hash=sha256:c3858660960c984d6ab0ebad691265180da2b43f07e061c0f8dca9ef3cffd328 \ --hash=sha256:cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248 # via -r requirements.in -java-api==17.26.6 \ - --hash=sha256:8c9a40f9626930420b4cf3b97ebfe5f91acf3c02416ab89e7296bddbc1cfb93b \ - --hash=sha256:d15c289b169f2b6339c69d09870a4c966e18850db415d448727cc626db4153a1 +java-api==25.26.1 \ + --hash=sha256:1b73ea36e18f617b919ff78047b18f89467128596349f07996628121c677d0d6 \ + --hash=sha256:e39b08c02c00cdeff827657594c4c2d5c3acafe6cb79969e1fcc5907fada0fd9 # via -r requirements.in typing==3.10.0.0 \ --hash=sha256:12fbdfbe7d6cca1a42e485229afcb0b0c8259258cfb919b8a5e2a5c953742f89 \ diff --git a/src/system/tag.py b/src/system/tag.py index 3aa8d70..fb63038 100644 --- a/src/system/tag.py +++ b/src/system/tag.py @@ -87,7 +87,7 @@ def configure( Python dictionary. Alternately, a JSON source string may be passed to this parameter. When editing existing tags, it is generally easier to retrieve the Tag configurations with - system.Tag.getConfiguration, modify the results of the + system.tag.getConfiguration, modify the results of the getConfiguration call, and then write the new configuration to the parent folder of the existing Tag(s). collisionPolicy: The action to take when a Tag or folder with @@ -238,6 +238,7 @@ def getConfiguration( A List of Tag dictionaries. Nested Tags are placed in a list marked as "tags" in the dictionary. """ + print(basePath, recursive, overridesOnly, getChildren) return ( [ {