Skip to content

Commit

Permalink
Merge branch 'release_branch_0_2_0' into 'master'
Browse files Browse the repository at this point in the history
Release 0 2 0

Closes #29

See merge request 3d/PandoraBox/pandora2d!55
  • Loading branch information
lecontm committed Feb 7, 2024
2 parents 1f934e5 + f987d8a commit 4f4cb97
Show file tree
Hide file tree
Showing 70 changed files with 3,793 additions and 866 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pandora2d_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
160 changes: 160 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ repos:
pass_filenames: False
stages: [ push ]
- repo: https://github.com/kynan/nbstripout
rev: master
rev: 0.6.1
hooks:
- id: nbstripout
97 changes: 12 additions & 85 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[MASTER]

# Extend Recursion limit for RecursionError in big files
init-hook='import sys; sys.setrecursionlimit(8 * sys.getrecursionlimit())'

# Specify a score threshold to be exceeded before program exits with error.
fail-under=10

Expand Down Expand Up @@ -39,85 +42,14 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=print-statement,
parameter-unpacking,
unpacking-in-except,
old-raise-syntax,
backtick,
long-suffix,
old-ne-operator,
old-octal-literal,
import-star-module-level,
non-ascii-bytes-literal,
raw-checker-failed,
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
apply-builtin,
basestring-builtin,
buffer-builtin,
cmp-builtin,
coerce-builtin,
execfile-builtin,
file-builtin,
long-builtin,
raw_input-builtin,
reduce-builtin,
standarderror-builtin,
unicode-builtin,
xrange-builtin,
coerce-method,
delslice-method,
getslice-method,
setslice-method,
no-absolute-import,
old-division,
dict-iter-method,
dict-view-method,
next-method-called,
metaclass-assignment,
indexing-exception,
raising-string,
reload-builtin,
oct-method,
hex-method,
nonzero-method,
cmp-method,
input-builtin,
round-builtin,
intern-builtin,
unichr-builtin,
map-builtin-not-iterating,
zip-builtin-not-iterating,
range-builtin-not-iterating,
filter-builtin-not-iterating,
using-cmp-argument,
eq-without-hash,
div-method,
idiv-method,
rdiv-method,
exception-message-attribute,
invalid-str-codec,
sys-max-int,
bad-python3-import,
deprecated-string-function,
deprecated-str-translate-call,
deprecated-itertools-function,
deprecated-types-field,
next-method-defined,
dict-items-not-iterating,
dict-keys-not-iterating,
dict-values-not-iterating,
deprecated-operator-function,
deprecated-urllib-function,
xreadlines-attribute,
deprecated-sys-function,
exception-escape,
comprehension-escape,
no-member,
logging-too-many-args,
raise-missing-from,
Expand All @@ -127,7 +59,7 @@ disable=print-statement,
broad-except,
unsubscriptable-object,
unsupported-membership-test,
W0613, C0103 #unused argument, don't conform snake_case
consider-using-f-string


# Enable the message, report, category or checker with the given id(s). You can
Expand Down Expand Up @@ -279,14 +211,12 @@ indent-string=' '
max-line-length=120

# Maximum number of lines in a module.
max-module-lines=1325
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
Expand Down Expand Up @@ -362,6 +292,11 @@ missing-member-max-choices=1
# List of decorators that change the signature of a decorated function.
signature-mutators=

# I1101: Module 'rasterio.crs' has no 'CRS' member, but source is unavailable. Consider adding this module
# to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (
# c-extension-no-member)
extension-pkg-allow-list=rasterio.crs


[BASIC]

Expand Down Expand Up @@ -577,12 +512,4 @@ max-returns=6
max-statements=100

# Minimum number of public methods for a class (see R0903).
min-public-methods=2


[EXCEPTIONS]

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
min-public-methods=2
17 changes: 12 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@

version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/sources/conf.py
# Set os required and python version (required)
build:
os: "ubuntu-22.04"
tools:
python: "3.10"

# add projet [docs] extra url dependencies in sphinx RTD virtualenv
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
- docs

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

31 changes: 31 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Credits

Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).

Pandora2d is licensed under permissive Apache 2 license (See LICENSE file).

See CONTRIBUTING.md for more details on Contributor License Agreement.

This file keeps track of authors contributions.

## Development Lead

* Emmanuel Dubois <[email protected]>
* Alice de Bardonnèche-Richard <[email protected]>
* Marie Leconte <[email protected]>
* Elisa Duz <[email protected]>
* Philippe Mallet-Ladeira <[email protected]>

## Contributors

* Emmanuelle Sarrazin <[email protected]>
* Natalia Jimenez <[email protected]>
* Quentin Fardet <[email protected]>

Update here with new contributors.

## Original Developers/Designers/Supporters

* Alice de Bardonnèche-Richard <[email protected]>
* Emmanuelle Sarrazin <[email protected]>
* Loïc Dumas <[email protected]>
Loading

0 comments on commit 4f4cb97

Please sign in to comment.