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

Maint/more linting #292

Merged
merged 4 commits into from
Dec 26, 2023
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
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
Loading