diff --git a/.github/workflows/check_format.yml b/.github/workflows/check_format.yml index 81c1106..4523239 100644 --- a/.github/workflows/check_format.yml +++ b/.github/workflows/check_format.yml @@ -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/black-action@v1.0.1 - with: - args: ". --check" + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install .[dev] + - name: "Black Code Formatter" + run: | + black . --check diff --git a/pydifact/syntax/v1/data.py b/pydifact/syntax/v1/data.py index d5cbe76..9341180 100644 --- a/pydifact/syntax/v1/data.py +++ b/pydifact/syntax/v1/data.py @@ -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": { @@ -175,4 +175,4 @@ "name": "Mutually defined", "description": "Mutually defined between trading partners.", }, -} \ No newline at end of file +} diff --git a/pyproject.toml b/pyproject.toml index a17a0eb..f0e844d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",