Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace datapane by Panel #61

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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