From 94f7bc97ad612f425add76b175019672d54fbed3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 19:48:40 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#211) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.1...v0.3.4) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- aiidalab_launch/__main__.py | 1 + aiidalab_launch/application_state.py | 1 + setup.py | 1 + tests/conftest.py | 1 + tests/test_cli.py | 1 + tests/test_instance.py | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7cb9615..60a4de3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: yamlfmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.1 + rev: v0.3.4 hooks: - id: ruff-format exclude: ^docs/ @@ -26,7 +26,7 @@ repos: args: [--fix, --exit-non-zero-on-fix, --show-fixes] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy additional_dependencies: diff --git a/aiidalab_launch/__main__.py b/aiidalab_launch/__main__.py index bc8e231..1845da5 100644 --- a/aiidalab_launch/__main__.py +++ b/aiidalab_launch/__main__.py @@ -4,6 +4,7 @@ Authors: * Carl Simon Adorf """ + import asyncio import getpass import logging diff --git a/aiidalab_launch/application_state.py b/aiidalab_launch/application_state.py index c3978bd..0c3dcf0 100644 --- a/aiidalab_launch/application_state.py +++ b/aiidalab_launch/application_state.py @@ -4,6 +4,7 @@ Authors: * Carl Simon Adorf """ + from dataclasses import dataclass, field from pathlib import Path diff --git a/setup.py b/setup.py index 5948248..63e14cb 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """This file is required for editable installs of the package.""" + from setuptools import setup setup() diff --git a/tests/conftest.py b/tests/conftest.py index 226465d..3f3b82f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,6 +6,7 @@ Provide fixtures for all tests. """ + import asyncio import random import re diff --git a/tests/test_cli.py b/tests/test_cli.py index 2ef6f32..b9b0ef8 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -7,6 +7,7 @@ This is the test module for the project's command-line interface (CLI) module. """ + import logging from dataclasses import replace diff --git a/tests/test_instance.py b/tests/test_instance.py index 18670f0..8e5a3f9 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py @@ -4,6 +4,7 @@ .. currentmodule:: test_core .. moduleauthor:: Carl Simon Adorf """ + import re from copy import deepcopy from dataclasses import replace