diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6b1c6300..8b2dc06ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,6 @@ repos: rev: 23.10.1 hooks: - id: black - args: [--target-version=py38] - repo: https://github.com/PyCQA/bandit rev: 1.7.5 diff --git a/Makefile b/Makefile index b7f07e24d..ad0a1adab 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,6 @@ lint: .PHONY: lint-fix lint-fix: python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black - python3 -m black --target-version py38 . + python3 -m black . python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff python3 -m ruff --fix . diff --git a/pyproject.toml b/pyproject.toml index 59d8da44e..a49179a37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,7 +78,6 @@ package-dir = {"" = "src"} version = {attr = "PIL.__version__"} [tool.ruff] -target-version = "py38" line-length = 88 select = [ "E", # pycodestyle errors