Skip to content

Commit

Permalink
Removed D212 from Ruff select
Browse files Browse the repository at this point in the history
  • Loading branch information
ukmo-ccbunney committed Nov 21, 2024
1 parent b932f63 commit bb551e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cf_units/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ def change_calendar(self, calendar):
>>> u.change_calendar('standard')
Unit('days since 1499-12-23T00:00:00', calendar='standard')
""" # NOQA E501
"""
if not self.is_time_reference():
raise ValueError("unit is not a time reference")

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ ignore = [
preview = false
select = [
"ALL",
"D212", # Multi-line docstring summary should start at the first line
]

[tool.ruff.lint.isort]
Expand Down

0 comments on commit bb551e1

Please sign in to comment.