diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 545b8f8..e6cdfeb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com for more information repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 # Python 3.6 compatible + rev: v6.0.0 # Python 3.9 compatible hooks: # Python related checks - id: check-ast @@ -22,6 +22,7 @@ repos: - id: mixed-line-ending name: Force line endings to LF args: ['--fix=lf'] + - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/pygrep-hooks @@ -31,8 +32,9 @@ repos: - id: python-no-eval - id: python-no-log-warn - id: python-use-type-annotations + - id: text-unicode-replacement-char # Pre-commit CI config, see https://pre-commit.ci/ ci: autofix_prs: false - autoupdate_schedule: quarterly + autoupdate_schedule: monthly diff --git a/requirements.txt b/requirements.txt index 0b082d9..c9b591e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # Pin packages to work with Python 3.9. Django==4.2.30 djangorestframework==3.16.1 -pytz==2026.3.post1 -PyMySQL==1.2.0 -pandas==2.3.3 numpy==2.0.2 # pandas dependency +pandas==2.3.3 +PyMySQL==1.2.0 +pytz==2026.3.post1