diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b245286..38374a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,20 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.37.1 + rev: v3.19.1 hooks: - id: pyupgrade args: ["--py36-plus"] - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 args: ["--max-line-length=88", "--extend-ignore=E203,E501,E712,F401"] - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort args: ["--profile", "black"] diff --git a/deduplify/hash_files.py b/deduplify/hash_files.py index 35c9700..56917b7 100644 --- a/deduplify/hash_files.py +++ b/deduplify/hash_files.py @@ -8,6 +8,7 @@ Author: Sarah Gibson Python version: >=3.7 (developed with 3.8) """ + import hashlib import logging import os