Skip to content

Commit eaba28e

Browse files
Merge pull request #61 from tbloron/feature/panel
Replace datapane by Panel
2 parents bb54ba3 + 70442d2 commit eaba28e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+41716
-41485
lines changed

.pre-commit-config.yaml

+47-45
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,58 @@
1+
---
2+
default_language_version:
3+
python: python3
14
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.2.0
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.6.0
47
hooks:
5-
- id: check-ast
6-
- id: check-byte-order-marker
7-
- id: check-case-conflict
8-
- id: check-docstring-first
9-
- id: check-executables-have-shebangs
10-
- id: check-json
11-
- id: check-yaml
12-
exclude: ^chart/
13-
- id: debug-statements
14-
- id: end-of-file-fixer
8+
- id: check-ast
9+
- id: check-byte-order-marker
10+
- id: check-case-conflict
11+
- id: check-docstring-first
12+
- id: check-json
13+
- id: check-yaml
14+
exclude: ^(chart/|docs/)
15+
- id: debug-statements
16+
- id: end-of-file-fixer
1517
exclude: ^(docs/|gdocs/)
16-
- id: pretty-format-json
18+
- id: pretty-format-json
1719
args: ['--autofix']
18-
- id: trailing-whitespace
20+
- id: trailing-whitespace
21+
args: ['--markdown-linebreak-ext=md']
1922
exclude: ^(docs/|gdocs/)
20-
- id: mixed-line-ending
23+
- id: mixed-line-ending
2124
args: ['--fix=lf']
2225
exclude: ^(docs/|gdocs/)
23-
- repo: https://github.com/psf/black
24-
rev: 22.3.0
26+
- id: check-added-large-files
27+
args: ['--maxkb=500']
28+
- id: no-commit-to-branch
29+
args: ['--branch', 'master', '--branch', 'develop']
30+
- repo: https://github.com/astral-sh/ruff-pre-commit
31+
rev: v0.5.2
2532
hooks:
26-
- id: black
27-
args: [--line-length=120]
28-
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: 'v0.941'
33+
- id: ruff
34+
args: [--fix]
35+
- id: ruff-format
36+
- repo: https://github.com/pre-commit/mirrors-mypy
37+
rev: 'v1.10.1'
3038
hooks:
31-
- id: mypy
32-
args: [--ignore-missing-imports, --show-error-codes]
33-
files: eurybia
34-
additional_dependencies: [types-PyYAML]
35-
- repo: https://github.com/PyCQA/flake8
36-
rev: 4.0.1
39+
- id: mypy
40+
args: [--config-file=pyproject.toml]
41+
files: src
42+
# Décommentez si vous utilisez pydantic (+ ajustez la version):
43+
# additional_dependencies: [pydantic~=1.0]
44+
- repo: https://github.com/pypa/pip-audit
45+
rev: v2.7.3
3746
hooks:
38-
- id: flake8
39-
exclude: ^tests/
40-
args: ['--ignore=E501,D2,D3,D4,D104,D100,D106,D107,W503,D105,E203']
41-
additional_dependencies: [flake8-docstrings]
42-
- repo: https://github.com/pre-commit/mirrors-isort
43-
rev: v5.4.2
47+
- id: pip-audit
48+
args: [--skip-editable, --fix]
49+
# - repo: https://github.com/gitleaks/gitleaks
50+
# rev: v8.18.2
51+
# hooks:
52+
# - id: gitleaks
53+
- repo: https://github.com/compilerla/conventional-pre-commit
54+
rev: v3.3.0
4455
hooks:
45-
- id: isort
46-
args: ["--profile", "black", "-l", "120"]
47-
- repo: https://github.com/asottile/pyupgrade
48-
rev: v2.7.2
49-
hooks:
50-
- id: pyupgrade
51-
args: [--py37-plus]
52-
- repo: https://github.com/asottile/blacken-docs
53-
rev: v1.8.0
54-
hooks:
55-
- id: blacken-docs
56-
additional_dependencies: [black==21.12b0]
56+
- id: conventional-pre-commit
57+
stages: [commit-msg]
58+
args: [] # optional: list of Conventional Commits types to allow e.g. [feat, fix, ci, chore, test]

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build:
2121
os: ubuntu-20.04
2222
tools:
2323
python: "3.10"
24-
24+
2525
# Optionally set the version of Python and requirements required to build your docs
2626
python:
2727
install:

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@
173173
incurred by, or claims asserted against, such Contributor by reason
174174
of your accepting any such warranty or additional liability.
175175

176-
END OF TERMS AND CONDITIONS
176+
END OF TERMS AND CONDITIONS

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ include .pre-commit-config.yaml
77

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

10-
recursive-include eurybia/assets *
10+
recursive-include eurybia/assets *

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
<a href="https://eurybia.readthedocs.io/en/latest/">
2020
<img src="https://readthedocs.org/projects/eurybia/badge/?version=latest" alt="doc">
2121
</a>
22+
<!-- Pre-commit -->
23+
<a href="https://github.com/pre-commit/pre-commit">
24+
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit" alt="pre-commit">
25+
</a>
26+
2227
</p>
2328

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

0 commit comments

Comments
 (0)