-
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.
Signed-off-by: GUIRONNET Adrien <[email protected]>
- Loading branch information
0 parents
commit d0cb2c6
Showing
1,108 changed files
with
1,145,100 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[flake8] | ||
# See: https://flake8.pycqa.org/en/latest/user/configuration.html | ||
# See: https://flake8.pycqa.org/en/latest/user/options.html | ||
show-source = True | ||
exclude = .git,__pycache__,build,dist | ||
|
||
# Recommend matching the black line length (default 88), rather than using flake8's default (79) | ||
max-line-length = 99 | ||
|
||
extend-ignore = | ||
# See https://github.com/PyCQA/pycodestyle/issues/373 | ||
# flake8/pycodechecker gives false positives on black code | ||
E203, W605 | ||
|
||
# flake-quote settings: Set this to match black style: | ||
inline-quotes = double | ||
|
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,37 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Python package | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9", "3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install flake8 pytest | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics |
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,35 @@ | ||
name: Create GitHub Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' # Triggered when you push a tag that starts with 'v', such as v1.0.0 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies | ||
run: python3 -m pip install --upgrade pip build setuptools wheel | ||
|
||
- name: Build package | ||
run: python3 -m build --sdist --wheel | ||
|
||
- name: Upload package to release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
dist/* | ||
LICENSE | ||
draft: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,25 @@ | ||
# Exclude emacs backups and Python bytecode caches: | ||
*~ | ||
__pycache__/ | ||
|
||
# IntelliJ | ||
/.idea | ||
*.iml | ||
|
||
# VS Code | ||
.vscode | ||
|
||
# Exclude package build artifacts: | ||
dist/ | ||
*.egg-info/ | ||
build/ | ||
|
||
# Exclude the recommended virtual env: | ||
dgcv_venv/ | ||
|
||
# Exclude default results (for those cases when we run the tool in the src tree, which we shouldn't) | ||
Results/ | ||
|
||
# Exlude auto-generate docs | ||
docs/manual/source/usage/helps | ||
docs/manual_dev/source/man/_autosummary |
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 @@ | ||
Dynamic grid compliance verification tool authors: | ||
|
||
Carmen CARDOZO | ||
Marcos DE MIGUEL CRUZ | ||
Louis GARBAY | ||
Adrien GUIRONNET | ||
Jose Luis MARIN | ||
Guiu OMS | ||
Philibert PARQUIER |
Oops, something went wrong.