Skip to content

Commit

Permalink
Merge pull request #292 from cerfacs-globc/maint/more-linting
Browse files Browse the repository at this point in the history
Maint/more linting
  • Loading branch information
bzah authored Dec 26, 2023
2 parents 7bbcc2a + 76300c8 commit 4a067d1
Show file tree
Hide file tree
Showing 21 changed files with 322 additions and 306 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ repos:
rev: v0.1.9
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: meta
hooks:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ select = [
"W", # pycodestyle warn
"C90", # mccabe
"I", # isort
# "N", # pep8-naming, to add
"N", # pep8-naming, to add
# "D", # pydocstyle, to add
"UP", # pyupgrade
"YTT", # flake8-2020
Expand Down
2 changes: 1 addition & 1 deletion src/icclim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Python library for climate indices calculation"""
"""Python library for climate indices calculation."""

from icclim._generated_api import * # noqa: F403 (add api to be in icclim module)
from icclim.generic_indices.threshold import build_threshold
Expand Down
Loading

0 comments on commit 4a067d1

Please sign in to comment.