Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Feb 14, 2025
1 parent fb36150 commit 96ea3d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ignore =
W503
# no quotes in strings
B028
E704
exclude =
.tox,
.git,
Expand Down
4 changes: 2 additions & 2 deletions src/bioregistry/schema/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def get_rdf_uri(self, identifier: str) -> str | None:
return None
return fmt.replace("$1", identifier)

def __setitem__(self, key: str, value: Any) -> None:
def __setitem__(self, key: str, value: Any) -> None: # noqa:D105
setattr(self, key, value)

def get_banana(self) -> str | None:
Expand Down Expand Up @@ -2864,7 +2864,7 @@ class Context(BaseModel):
prefix maps to serve various communities based on the standard Bioregistry
prefix map, custom prefix remapping rules, custom URI prefix remapping rules,
custom prefix maps, and other community-specific logic.
""" # noqa: D205
""" # noqa: D205,D400

name: str = Field(
...,
Expand Down

0 comments on commit 96ea3d8

Please sign in to comment.