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", +]