From f961c605d94990e3f4315852e8b18f3bb5c9a2bc Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Tue, 1 Apr 2025 23:14:18 -0400 Subject: [PATCH] [Minor] Update PreConfig, Requirements --- .pre-commit-config.yaml | 16 ++++++++-------- requirements-dev.txt | 10 +++++----- requirements.txt | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 51702e14..f73fcf73 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,17 +36,17 @@ repos: types: [ python ] - repo: https://github.com/pre-commit/pygrep-hooks - rev: 'v1.9.0' + rev: 'v1.10.0' hooks: - - id: python-no-eval - - id: python-no-log-warn + - id: python-no-eval + - id: python-no-log-warn # This is a pain where a comment begins with the word 'type' otherwise -# - id: python-use-type-annotations +# - id: python-use-type-annotations # mypy - static type checking # mypy --follow-imports skip - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v0.991' + rev: 'v1.15.0' hooks: - id: mypy # verbose: true @@ -64,11 +64,11 @@ repos: # - repo: https://github.com/digitalpulp/pre-commit-php # rev: '' # hooks: -# -id: php-unit +# -id: php-unit # safety.exe check -r requirements.txt - repo: https://github.com/Lucas-C/pre-commit-hooks-safety - rev: 'v1.2.3' + rev: 'v1.4.0' hooks: - id: python-safety-dependencies-check entry: safety @@ -89,6 +89,6 @@ repos: default_language_version: python: python3.11 -default_stages: [ commit, push ] +default_stages: [ pre-commit, pre-push ] #files: '([^\.].+/)*.py' diff --git a/requirements-dev.txt b/requirements-dev.txt index e00633c5..a36ee506 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -16,9 +16,9 @@ flake8-use-fstring==1.4 mypy==1.15.0 pep8-naming==0.14.1 -safety==3.2.14 -types-requests==2.32.0.20241016 -types-setuptools==75.8.0.20250210 +safety==3.3.1 +types-requests==2.32.0.20250328 +types-setuptools==78.1.0.20250329 # Code formatting tools autopep8==2.3.2 @@ -34,8 +34,8 @@ mistune==3.1.1 py2exe==0.13.0.2; sys_platform == 'win32' # Testing -pytest==8.3.4 -pytest-cov==6.0.0 # Pytest code coverage support +pytest==8.3.5 +pytest-cov==6.1.0 # Pytest code coverage support coverage[toml]==7.6.1 # pytest-cov dep. This is here to ensure that it includes TOML support for pyproject.toml configs coverage-conditional-plugin==0.9.0 diff --git a/requirements.txt b/requirements.txt index b4d02a4b..430617c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ watchdog==6.0.0 simplesystray==0.1.0; sys_platform == 'win32' semantic-version==2.10.0 # For manipulating folder permissions and the like. -pywin32==308; sys_platform == 'win32' +pywin32==310; sys_platform == 'win32' psutil==6.1.1