Skip to content

Commit

Permalink
Format code using ruff and update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 15, 2024
1 parent dd4ec1b commit 36e9ddb
Show file tree
Hide file tree
Showing 6 changed files with 569 additions and 600 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Linting

on:
push:
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**/*.md'

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Lint with ruff
run: |
pip install ruff
ruff check yao
ruff format --check yao
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install dependencies
run: |
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/test.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Next version

### ⚙️ Engineering

* Format code using ruff and update workflows.


## 1.3.2 - May 29, 2024

### ✨ Improved
Expand Down
Loading

0 comments on commit 36e9ddb

Please sign in to comment.