-
-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #687 from jarrodmillman/ruff
Add linter
- Loading branch information
Showing
99 changed files
with
658 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ omit = | |
*/pywt/data/create_dat.py | ||
*.pxd | ||
stringsource | ||
plugins = Cython.Coverage | ||
plugins = Cython.Coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# .git-blame-ignore-revs | ||
# Applied codespell to the codebase | ||
5ce73c91800829950474aaa4f4036b2a589a2418 | ||
d531f668d60503d55387d7d0ffae4afd199c5f80 | ||
bb1d1888fd63381ce35805e0cb3623a8bd47163c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
id: setup-python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11.2' | ||
python-version: "3.11.2" | ||
|
||
- name: Install prerequisites | ||
run: | | ||
|
@@ -43,7 +43,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '18' | ||
node-version: "18" | ||
|
||
- name: Build PyWavelets | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: style | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install packages | ||
run: | | ||
pip install --upgrade pip | ||
pip install pre-commit | ||
pip list | ||
- name: Lint | ||
run: pre-commit run --all-files --show-diff-on-failure --color always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.