Skip to content

Commit 3084651

Browse files
hf-kkleinKonstantin
and
Konstantin
authored
chore(fmt/ci): bump black major version, format codebase, simplify CI (#91)
Co-authored-by: Konstantin <[email protected]>
1 parent 09de0fe commit 3084651

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.github/workflows/check_format.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ on:
55
push:
66
branches:
77
- all
8-
pull_request: {}
8+
pull_request: { }
99
jobs:
1010
black:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
python-version: ["3.11"]
15-
os: [ubuntu-latest]
14+
python-version: [ "3.13" ]
15+
os: [ ubuntu-latest ]
1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Black Code Formatter
19-
uses: lgeiger/[email protected]
20-
with:
21-
args: ". --check"
18+
- name: Install Dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install .[dev]
22+
- name: "Black Code Formatter"
23+
run: |
24+
black . --check

pydifact/syntax/v1/data.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Partner identification code assigned by Dun & Bradstreet.",
55
},
66
"4": {
7-
"name": "IATA (International Air Transport Association)",
7+
"name": "IATA (International Air Transport Association)",
88
"description": "Partner identification code assigned by the International Air Transport Association.",
99
},
1010
"5": {
@@ -175,4 +175,4 @@
175175
"name": "Mutually defined",
176176
"description": "Mutually defined between trading partners.",
177177
},
178-
}
178+
}

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dev = [
2929
"Sphinx>=7.2.0",
3030
"setuptools>=69.1.0",
3131
"wheel>=0.42.0",
32-
"black>=24.0.0",
32+
"black>=25.1.0",
3333
"sphinx-rtd-theme>=2.0.0",
3434
"build",
3535
"twine",

0 commit comments

Comments
 (0)