Skip to content

Commit

Permalink
Enable automatic formatting for sphinx/ext/linkcode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Dec 26, 2024
1 parent c5672bf commit e6ede72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ exclude = [
"sphinx/domains/python/_object.py",
"sphinx/domains/rst.py",
"sphinx/domains/std/__init__.py",
"sphinx/ext/linkcode.py",
"sphinx/ext/todo.py",
"sphinx/ext/viewcode.py",
]
2 changes: 1 addition & 1 deletion sphinx/ext/linkcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


class LinkcodeError(SphinxError):
category = "linkcode error"
category = 'linkcode error'


def doctree_read(app: Sphinx, doctree: Node) -> None:
Expand Down

0 comments on commit e6ede72

Please sign in to comment.