From 2e809a98a608ace7e2f92c6d9d9bbed3be02b729 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 20 Nov 2024 15:29:09 +0000 Subject: [PATCH] Update dev dependencies --- .github/workflows/ci.yml | 2 +- pyproject.toml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d72bcb0..7b48001 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Type check run: mypy heroku_audit stubs - name: Format - run: black --check heroku_audit stubs + run: ruff format --check . - name: lint run: ruff check heroku_audit stubs - name: List commands diff --git a/pyproject.toml b/pyproject.toml index 0e9856a..197c40c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,9 +48,8 @@ heroku-audit = "heroku_audit.cli:app" [project.optional-dependencies] dev = [ - "ruff", - "mypy", - "black", + "ruff==0.7.4", + "mypy==1.13.0", "types-requests" ] @@ -68,6 +67,6 @@ disallow_incomplete_defs = true disallow_untyped_decorators = true check_untyped_defs = true -[tool.ruff] +[tool.ruff.lint] select = ["E", "F", "I", "W", "N", "B", "A", "C4"] ignore = ["E501"]