use ruff instead of black (#598)

This commit is contained in:
Inada Naoki 2024-05-03 15:17:54 +09:00 committed by GitHub
parent e77672200b
commit 2eca765533
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 40 additions and 73 deletions

View file

@ -10,22 +10,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
architecture: 'x64'
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
architecture: 'x64'
cache: "pip"
cache-dependency-path: |
requirements.txt
docs/requirements.txt
- name: Build
shell: bash
run: |
pip install -r requirements.txt
make cython
- name: Sphinx Documentation Generator
run: |
pip install tox
tox -e sphinx
pip install -r docs/requirements.txt
make docs