Skip to content
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.0
rev: v2.25.1
hooks:
- id: pyproject-fmt

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
rev: 26.5.1
hooks:
- id: black

Expand All @@ -38,15 +38,15 @@ repos:
args: [ '--max-line-length=93', '--extend-ignore=W503' ]

- repo: https://github.com/PyCQA/isort
rev: 8.0.1
rev: 9.0.0a3
hooks:
- id: isort

- repo: https://github.com/keewis/blackdoc
rev: v0.4.6
hooks:
- id: blackdoc
additional_dependencies: [ 'black==26.3.1' ]
additional_dependencies: [ 'black==26.5.1' ]
- id: blackdoc-autoupdate-black

- repo: local
Expand All @@ -61,7 +61,7 @@ repos:
additional_dependencies: ['ty>=0.0.1a14']

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.1
rev: 0.37.4
hooks:
- id: check-github-workflows
- id: check-readthedocs
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=77", "setuptools-scm>=8", "wheel" ]
requires = [ "setuptools>=77", "setuptools-scm>=8" ]

[project]
name = "climpred"
Expand Down Expand Up @@ -86,22 +86,22 @@ docs = [ "climpred[docs]" ]
description = { file = "src/climpred/__init__.py" }

[tool.setuptools_scm]
fallback_version = "999"
version_scheme = "post-release"
local_scheme = "dirty-tag"
fallback_version = "999"

[tool.black]
line-length = 88
target-version = [ "py310", "py311", "py312", "py313" ]
line-length = 88

[tool.isort]
known_first_party = "climpred"
line_length = 88
multi_line_output = 3
use_parentheses = true
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
combine_as_imports = true
known_first_party = "climpred"
skip = [ "docs/source/conf.py" ]

[tool.pyproject-fmt]
Expand Down
Loading