Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Jun 15, 2024
1 parent 9d15597 commit 2299d36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ repos:
rev: v0.4.6
hooks:
- id: ruff
exclude: '(dev/.*|.*_)\.py$'
# Next line if for documenation cod snippets
exclude: '^(dev/.*|[A-Za-z].*_)\.py$'
args:
- --line-length=120
- --fix
Expand All @@ -62,7 +63,7 @@ repos:
rev: "0.0.6"
hooks:
- id: optional-dependencies-all
args: ["--inplace", "--exclude-keys=dev,docs,tests", "--group=dev=docs,tests"]
args: ["--inplace", "--exclude-keys=dev,docs,tests", "--group=dev=all,docs,tests"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.3"
hooks:
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,17 @@ optional-dependencies.create = [
]

optional-dependencies.dev = [
"boto3",
"climetlab>=0.23.2",
"earthkit-meteo",
"ecmwflibs>=0.6.3",
"entrypoints",
"nbsphinx",
"pandoc",
"pyproj",
"pytest",
"requests",
"s3fs",
"sphinx",
"sphinx-argparse",
"sphinx-rtd-theme",
Expand Down

0 comments on commit 2299d36

Please sign in to comment.