mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 22:34:21 +01:00
Edit .github/workflows/bitfinex-api-py-ci.yml to run pre-commit hooks.
This commit is contained in:
9
.github/workflows/bitfinex-api-py-ci.yml
vendored
9
.github/workflows/bitfinex-api-py-ci.yml
vendored
@@ -8,9 +8,6 @@ on:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -23,7 +20,7 @@ jobs:
|
||||
python-version: '3.8'
|
||||
- name: Install bitfinex-api-py's dependencies
|
||||
run: python -m pip install -r dev-requirements.txt
|
||||
- name: Lint the project with pylint (and fail if score is lower than 10.00/10.00)
|
||||
run: python -m pylint bfxapi
|
||||
- name: Run mypy to check the correctness of type hinting (and fail if any error or warning is found)
|
||||
- name: Run pre-commit hooks (see .pre-commit-config.yaml)
|
||||
uses: pre-commit/action@v3.0.1
|
||||
- name: Run mypy to ensure correct type hinting
|
||||
run: python -m mypy bfxapi
|
||||
|
||||
Reference in New Issue
Block a user