diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0d4fc5..5af5361 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_stages: [commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,11 +10,17 @@ repos: - id: check-added-large-files - id: detect-private-key - repo: https://github.com/gitleaks/gitleaks - rev: v8.16.1 + rev: v8.18.2 hooks: - id: gitleaks - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.286 + rev: v0.3.7 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] + - repo: https://github.com/python-poetry/poetry + rev: 1.8.2 + hooks: + - id: poetry-export + args: ['-f', 'app/requirements.in', '-o', 'requirements.txt'] + verbose: true diff --git a/.tool-versions b/.tool-versions index c10ee4e..1d7a709 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -python 3.11.4 +python 3.12.3 diff --git a/app/README.md b/app/README.md index 21b974a..2797e70 100644 --- a/app/README.md +++ b/app/README.md @@ -39,4 +39,4 @@ To ensure that the hashes supplied in `requirements.txt` work across multiple pl To run, execute the following command: -`pip-compile-cross-platform --min-python-version 3.11 app/requirements.in` +`pip-compile-cross-platform --min-python-version 3.12 app/requirements.in` diff --git a/app/requirements.txt b/app/requirements.txt index 639ee14..e54b042 100644 --- a/app/requirements.txt +++ b/app/requirements.txt @@ -2,12 +2,12 @@ # This file is autogenerated by pip-compile-cross-platform # To update, run: # -# pip-compile-cross-platform requirements.in --min-python-version 3.11 +# pip-compile-cross-platform app/requirements.in --min-python-version 3.12 # -certifi==2024.2.2 \ +certifi==2024.2.2 ; python_version >= "3.12" and python_version < "4.0" \ --hash=sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f \ --hash=sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1 -charset-normalizer==3.3.2 \ +charset-normalizer==3.3.2 ; python_version >= "3.12" and python_version < "4.0" \ --hash=sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027 \ --hash=sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087 \ --hash=sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786 \ @@ -98,15 +98,15 @@ charset-normalizer==3.3.2 \ --hash=sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33 \ --hash=sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519 \ --hash=sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561 -idna==3.7 \ +idna==3.7 ; python_version >= "3.12" and python_version < "4.0" \ --hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \ --hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 -packaging==24.0 \ +packaging==24.0 ; python_version >= "3.12" and python_version < "4.0" \ --hash=sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5 \ --hash=sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9 -requests==2.31.0 \ +requests==2.31.0 ; python_version >= "3.12" and python_version < "4.0" \ --hash=sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f \ --hash=sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 -urllib3==2.2.1 \ +urllib3==2.2.1 ; python_version >= "3.12" and python_version < "4.0" \ --hash=sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d \ --hash=sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19 diff --git a/nudge.json b/nudge.json index d970bc7..ba5d801 100644 --- a/nudge.json +++ b/nudge.json @@ -25,4 +25,4 @@ "targetedOSVersionsRule": "11" } ] -} \ No newline at end of file +}