-
Notifications
You must be signed in to change notification settings - Fork 0
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 #26 from BMCV/develop
Update to v0.4.0
- Loading branch information
Showing
118 changed files
with
3,062 additions
and
3,523 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
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,10 @@ | ||
[flake8] | ||
|
||
max-line-length = 120 | ||
|
||
extend-ignore = E221,E211,E222,E202,F541,E201,E203,E125,E272 | ||
|
||
per-file-ignores = | ||
superdsm/__init__.py:F401 | ||
|
||
exclude = superdsm/_libs/**/*.py docs/source/conf.py |
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,33 @@ | ||
name: Linters | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: ['*'] | ||
|
||
jobs: | ||
|
||
run_linters: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 isort | ||
- name: Run linters | ||
run: | | ||
flake8 superdsm | ||
flake8 tests | ||
isort superdsm --check-only --diff | ||
isort tests --check-only --diff |
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
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
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 |
---|---|---|
|
@@ -31,7 +31,24 @@ jobs: | |
apt-get update | ||
apt-get install -y ca-certificates | ||
- uses: blend/[email protected] | ||
- name: Wait for test suite | ||
uses: blend/[email protected] | ||
if: ${{ (github.event.action == 'synchronize' || github.event.action == 'opened') && github.event.pull_request.draft == true }} | ||
with: | ||
interval: 20s | ||
timeout: 1440m | ||
checks-yaml: | | ||
- job: 'Test suite' | ||
paths: | ||
- .github/workflows/testsuite.yml | ||
- superdsm/** | ||
- examples/** | ||
- superdsm.yml | ||
- tests/** | ||
- name: Wait for test suite and regression tests | ||
uses: blend/[email protected] | ||
if: ${{ (github.event.action != 'synchronize' && github.event.action != 'opened') || github.event.pull_request.draft == false }} | ||
with: | ||
interval: 20s | ||
timeout: 1440m | ||
|
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
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,11 @@ | ||
[settings] | ||
|
||
multi_line_output = 3 | ||
|
||
force_grid_wrap = 2 | ||
|
||
include_trailing_comma = true | ||
|
||
skip_glob = | ||
superdsm/_libs/**/*.py | ||
docs/source/conf.py |
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,9 @@ | ||
{ | ||
"[git-commit]": { | ||
"editor.rulers": [50] | ||
}, | ||
|
||
"[python]": { | ||
"editor.rulers": [119] | ||
} | ||
} |
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.