Skip to content

Commit

Permalink
Merge pull request #61 from tbloron/feature/panel
Browse files Browse the repository at this point in the history
Replace datapane by Panel
  • Loading branch information
guillaume-vignal authored Sep 16, 2024
2 parents bb54ba3 + 70442d2 commit eaba28e
Show file tree
Hide file tree
Showing 45 changed files with 41,716 additions and 41,485 deletions.
92 changes: 47 additions & 45 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,56 +1,58 @@
---
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-ast
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
exclude: ^chart/
- id: debug-statements
- id: end-of-file-fixer
- id: check-ast
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
- id: check-yaml
exclude: ^(chart/|docs/)
- id: debug-statements
- id: end-of-file-fixer
exclude: ^(docs/|gdocs/)
- id: pretty-format-json
- id: pretty-format-json
args: ['--autofix']
- id: trailing-whitespace
- id: trailing-whitespace
args: ['--markdown-linebreak-ext=md']
exclude: ^(docs/|gdocs/)
- id: mixed-line-ending
- id: mixed-line-ending
args: ['--fix=lf']
exclude: ^(docs/|gdocs/)
- repo: https://github.com/psf/black
rev: 22.3.0
- id: check-added-large-files
args: ['--maxkb=500']
- id: no-commit-to-branch
args: ['--branch', 'master', '--branch', 'develop']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
hooks:
- id: black
args: [--line-length=120]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.941'
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.1'
hooks:
- id: mypy
args: [--ignore-missing-imports, --show-error-codes]
files: eurybia
additional_dependencies: [types-PyYAML]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
- id: mypy
args: [--config-file=pyproject.toml]
files: src
# Décommentez si vous utilisez pydantic (+ ajustez la version):
# additional_dependencies: [pydantic~=1.0]
- repo: https://github.com/pypa/pip-audit
rev: v2.7.3
hooks:
- id: flake8
exclude: ^tests/
args: ['--ignore=E501,D2,D3,D4,D104,D100,D106,D107,W503,D105,E203']
additional_dependencies: [flake8-docstrings]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.4.2
- id: pip-audit
args: [--skip-editable, --fix]
# - repo: https://github.com/gitleaks/gitleaks
# rev: v8.18.2
# hooks:
# - id: gitleaks
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.3.0
hooks:
- id: isort
args: ["--profile", "black", "-l", "120"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/asottile/blacken-docs
rev: v1.8.0
hooks:
- id: blacken-docs
additional_dependencies: [black==21.12b0]
- id: conventional-pre-commit
stages: [commit-msg]
args: [] # optional: list of Conventional Commits types to allow e.g. [feat, fix, ci, chore, test]
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ build:
os: ubuntu-20.04
tools:
python: "3.10"

# Optionally set the version of Python and requirements required to build your docs
python:
install:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ include .pre-commit-config.yaml

global-exclude *.py[cod] __pycache__/* *.so *.dylib

recursive-include eurybia/assets *
recursive-include eurybia/assets *
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<a href="https://eurybia.readthedocs.io/en/latest/">
<img src="https://readthedocs.org/projects/eurybia/badge/?version=latest" alt="doc">
</a>
<!-- Pre-commit -->
<a href="https://github.com/pre-commit/pre-commit">
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit" alt="pre-commit">
</a>

</p>

<p align="center">
Expand Down Expand Up @@ -189,7 +194,7 @@ One of the schedulers you can use is Apache Airflow. To use it, you can read the
## 🔬 Built With
This section list libraries used in Eurybia.
- [Shapash](https://github.com/MAIF/shapash/tree/master/shapash)
- [Datapane](https://github.com/datapane/datapane)
- [Panel](https://github.com/holoviz/panel)
- [Plotly](https://github.com/plotly/plotly.py)
- [Catboost](https://github.com/catboost/catboost)

Expand Down
Loading

0 comments on commit eaba28e

Please sign in to comment.