Skip to content

Commit

Permalink
Update GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fabcor-maxiv committed Oct 18, 2024
1 parent 4ee0429 commit a46c389
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/something.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---


name: Something

"on":
pull_request:
types: [opened, reopened, synchronize]

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable

yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install yamllint
- run: yamllint .

...
11 changes: 9 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
---






repos:



- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args:
- --strict
- --strict

- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
hooks:
- id: poetry-check

- repo: https://github.com/myint/autoflake
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.1
hooks:
- id: autoflake
Expand Down
9 changes: 8 additions & 1 deletion mxcubecore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
from __future__ import absolute_import




from __future__ import absolute_import




import logging
from logging.handlers import RotatingFileHandler
Expand Down

0 comments on commit a46c389

Please sign in to comment.