Skip to content

fix: line issues

fix: line issues #287

Workflow file for this run

name: json2xml linters.yml
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: ruff
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
- run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: |
ruff json2xml
ruff tests
mypy:
name: mypy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- run: pip install --upgrade mypy types-requests types-urllib3
- name: mypy
uses: liskin/gh-problem-matcher-wrap@v1
with:
linters: mypy
run: |
mypy json2xml