Skip to content

chore(fmt/ci): bump black major version, format codebase, simplify CI #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/check_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ on:
push:
branches:
- all
pull_request: {}
pull_request: { }
jobs:
black:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.11"]
os: [ubuntu-latest]
python-version: [ "3.13" ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Black Code Formatter
uses: lgeiger/[email protected]
with:
args: ". --check"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: "Black Code Formatter"
run: |
black . --check
4 changes: 2 additions & 2 deletions pydifact/syntax/v1/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Partner identification code assigned by Dun & Bradstreet.",
},
"4": {
"name": "IATA (International Air Transport Association)",
"name": "IATA (International Air Transport Association)",
"description": "Partner identification code assigned by the International Air Transport Association.",
},
"5": {
Expand Down Expand Up @@ -175,4 +175,4 @@
"name": "Mutually defined",
"description": "Mutually defined between trading partners.",
},
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev = [
"Sphinx>=7.2.0",
"setuptools>=69.1.0",
"wheel>=0.42.0",
"black>=24.0.0",
"black>=25.1.0",
"sphinx-rtd-theme>=2.0.0",
"build",
"twine",
Expand Down