Skip to content

fix(HTTPClient): use orjson if it's installed #669

fix(HTTPClient): use orjson if it's installed

fix(HTTPClient): use orjson if it's installed #669

Workflow file for this run

name: Lint
permissions:
contents: read
on:
pull_request: {}
push:
branches: ["master"]
merge_group: {}
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run task black_check
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run task isort_check
pyright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install -E speed
- uses: actions/setup-node@v2
name: Install node
with:
node-version: "14"
- name: Install pyright
run: npm install -g pyright
- name: Enable the problem checker
run: echo "::add-matcher::.github/checkers/pyright.json"
- name: Run pyright
run: poetry run pyright nextcore/
style-guide:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Enable the problem checker
run: echo "::add-matcher::.github/checkers/pylint.json"
- name: Run pylint
run: poetry run pylint -d all -e asyncio-best-practices,license,outdated-typing --load-plugins=nextstyle nextcore/
slots-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run slotscheck
run: poetry run slotscheck nextcore/