From eb555a38e10305c4a187bc88fdbe9d0a197a0ce5 Mon Sep 17 00:00:00 2001 From: fabcor Date: Fri, 18 Oct 2024 17:29:49 +0200 Subject: [PATCH] Update GitHub Actions workflows --- .github/workflows/something.yaml | 20 ++++++++++++++++++++ .pre-commit-config.yaml | 2 +- mxcubecore/__init__.py | 9 ++++++++- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/something.yaml diff --git a/.github/workflows/something.yaml b/.github/workflows/something.yaml new file mode 100644 index 0000000000..67a36dccd7 --- /dev/null +++ b/.github/workflows/something.yaml @@ -0,0 +1,20 @@ +--- + + +name: Something + +"on": + pull_request: + types: [opened, reopened, synchronize] + +jobs: + pre-commit: + runs-on: ubuntu-latest + + steps: + + - uses: actions/checkout@v3 + - uses: psf/black@stable + + +... diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a360004dd..a17d78e304 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: hooks: - id: poetry-check - - repo: https://github.com/myint/autoflake + - repo: https://github.com/PyCQA/autoflake rev: v2.3.1 hooks: - id: autoflake diff --git a/mxcubecore/__init__.py b/mxcubecore/__init__.py index 961be785d5..6f81fd79fd 100644 --- a/mxcubecore/__init__.py +++ b/mxcubecore/__init__.py @@ -1,4 +1,11 @@ -from __future__ import absolute_import + + + + +from __future__ import absolute_import + + + import logging from logging.handlers import RotatingFileHandler