From a24055c621df2f8d931a992352798fca99b3c090 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:11:22 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.5.0) - [github.com/psf/black: 22.6.0 → 24.1.1](https://github.com/psf/black/compare/22.6.0...24.1.1) - [github.com/pycqa/isort: 5.10.1 → 5.13.2](https://github.com/pycqa/isort/compare/5.10.1...5.13.2) - [github.com/pycqa/pydocstyle: 6.1.1 → 6.3.0](https://github.com/pycqa/pydocstyle/compare/6.1.1...6.3.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d38fe2..ce8ce0f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,23 +1,23 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.1.1 hooks: - id: black args: [--line-length=80] - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort name: isort (python) args: ["--profile", "black"] - repo: https://github.com/pycqa/pydocstyle - rev: '6.1.1' + rev: '6.3.0' hooks: - id: pydocstyle exclude: ^(examples/|gixstapose/tests/|gixstapose/data/|setup.py) From 16ac08d7f4c8203878de250951ae0e9b635bcf5c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:11:30 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- gixstapose/__version__.py | 1 + gixstapose/diffractometer.py | 1 + gixstapose/draw_scene.py | 1 + gixstapose/main.py | 1 + 4 files changed, 4 insertions(+) diff --git a/gixstapose/__version__.py b/gixstapose/__version__.py index f2ef868..33dfaa2 100644 --- a/gixstapose/__version__.py +++ b/gixstapose/__version__.py @@ -1,4 +1,5 @@ """GIXStapose version.""" + VERSION = (0, 0, 4) __version__ = ".".join(map(str, VERSION)) diff --git a/gixstapose/diffractometer.py b/gixstapose/diffractometer.py index dde2376..192b28e 100644 --- a/gixstapose/diffractometer.py +++ b/gixstapose/diffractometer.py @@ -1,4 +1,5 @@ """Diffractometer module of GIXStapose.""" + import os import time from os import makedirs diff --git a/gixstapose/draw_scene.py b/gixstapose/draw_scene.py index 9fb1df8..fa816e3 100644 --- a/gixstapose/draw_scene.py +++ b/gixstapose/draw_scene.py @@ -1,4 +1,5 @@ """Scene drawing module for GIXStapose.""" + import os import random diff --git a/gixstapose/main.py b/gixstapose/main.py index f1b699b..c94b9ed 100644 --- a/gixstapose/main.py +++ b/gixstapose/main.py @@ -1,4 +1,5 @@ """GIXStapose QT application.""" + import argparse import os from pathlib import Path