Skip to content

Commit 33f5c7c

Browse files
committed
reformatted
1 parent a163eee commit 33f5c7c

18 files changed

Lines changed: 1824 additions & 537 deletions

.github/workflows/format.yml

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
1-
name: Format Python Code
2-
on: push
1+
name: Format
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags: [v*]
7+
pull_request:
8+
39
jobs:
4-
python-code-format:
5-
runs-on: ubuntu-20.04
10+
linter_name:
11+
name: runner / black formatter
12+
runs-on: ubuntu-latest
613
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-python@v4
14+
- uses: actions/checkout@v4
15+
- uses: rickstaa/action-black@v1
916
with:
10-
python-version: "3.10"
11-
architecture: "x64"
12-
- name: Display Python version
13-
run: python --version
14-
- name: Install packages
15-
run: pip install black autopep8 isort
16-
- name: Formatter
17-
run: |
18-
black .
19-
autopep8 --recursive --in-place --aggressive --aggressive .
20-
isort .
21-
- name: Create Pull Request
22-
uses: peter-evans/create-pull-request@v3
23-
with:
24-
commit-message: Auto code format
25-
title: Fixes by format action
26-
body: This is an auto-generated PR with fixes.
27-
labels: automated pr
28-
branch: python-code-format-patches
29-
17+
black_args: ". --check"

docs/source/conf.py

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,22 @@
66
# -- Project information -----------------------------------------------------
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

9-
project = 'GroupedTransform'
10-
copyright = '2025, Felix'
11-
author = 'Felix'
12-
release = '29.07.2025'
9+
project = "GroupedTransform"
10+
copyright = "2025, Felix"
11+
author = "Felix"
12+
release = "29.07.2025"
1313

1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1616

17-
extensions = [
18-
'sphinx.ext.mathjax'
19-
]
17+
extensions = ["sphinx.ext.mathjax"]
2018

21-
templates_path = ['_templates']
19+
templates_path = ["_templates"]
2220
exclude_patterns = []
2321

2422

25-
2623
# -- Options for HTML output -------------------------------------------------
2724
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
2825

29-
html_theme = 'alabaster'
30-
html_static_path = ['_static']
26+
html_theme = "alabaster"
27+
html_static_path = ["_static"]

0 commit comments

Comments
 (0)