From 18e664afb16de754ec85ef2c46fffcec1e9f0450 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 14 Mar 2022 17:08:50 -0400 Subject: [PATCH] chore: isort avoid local build confusion, bump pre-commit (#2274) --- .pre-commit-config.yaml | 8 ++++---- pyproject.toml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82688dd22..e9a3af2ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,13 +22,13 @@ repos: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: "v2.31.0" + rev: "v2.31.1" hooks: - id: pyupgrade args: ["--py39-plus"] - repo: https://github.com/hadialqattan/pycln - rev: "v1.2.0" + rev: "v1.2.5" hooks: - id: pycln args: [--config=pyproject.toml] @@ -39,14 +39,14 @@ repos: hooks: - id: black - - repo: https://gitlab.com/pycqa/flake8 + - repo: https://github.com/pycqa/flake8 rev: "4.0.1" hooks: - id: flake8 additional_dependencies: [flake8-bugbear] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.931" + rev: "v0.940" hooks: - id: mypy args: diff --git a/pyproject.toml b/pyproject.toml index 52d7ebc51..cb28b4a36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,3 +33,6 @@ known_first_party = [ "pyodide_build", "_pyodide", ] +known_third_party = [ + "build", +]