From 0cac4e28a69d69795532a979c364005cff9e6915 Mon Sep 17 00:00:00 2001 From: Zane Selvans Date: Thu, 19 Oct 2023 00:11:10 -0600 Subject: [PATCH] Bump ruff and black versions --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 248caf4f23..5aac248e1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,14 +26,14 @@ repos: # Formatters: hooks that re-write Python & documentation files #################################################################################### - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.292 + rev: v0.1.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] # Format the code - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.9.1 + rev: 23.10.0 hooks: - id: black language_version: python3.11 diff --git a/pyproject.toml b/pyproject.toml index 69d725d02a..691e04a184 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -118,12 +118,12 @@ pudl_check_fks = "pudl.etl.check_foreign_keys:main" [project.optional-dependencies] dev = [ - "black>=22,<23.10", + "black>=23,<23.11", "build>=1,<1.1", "ipdb>=0.13,<0.14", "jedi>=0.18,<0.20", "lxml>=4.6,<4.10", - "ruff>=0.0.287", + "ruff>=0.1,<0.2", "tox>=4,<4.12", "twine>=4,<4.1", ] @@ -148,7 +148,7 @@ test = [ "pytest-mock>=3,<3.12", "pytest>=7,<7.5", "responses>=0.14,<0.24", - "ruff>=0.0.287", + "ruff>=0.1,<0.2", "tox>=4,<4.12", ] datasette = ["datasette>=0.60,<0.65"]