Skip to content

Commit

Permalink
Merge pull request #27 from wrobell/clean-style
Browse files Browse the repository at this point in the history
Fix another code styling issue reported by pre-commit hook
  • Loading branch information
wrobell authored Aug 25, 2023
2 parents db9f798 + dd273c1 commit 49b4b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.21.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand Down
4 changes: 3 additions & 1 deletion sphinxcontrib/hy_documenters.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,9 @@ def get_object_members(self, want_all: bool):
)
macros = safe_getattr(self.object, module_attr, {})
for name in macromembers:
macro_obj = macros.get(hy.mangle(name) if option != "readers" else name)
macro_obj = macros.get(
hy.mangle(name) if option != "readers" else name
)
if macro_obj:
setattr(
macro_obj,
Expand Down

0 comments on commit 49b4b7c

Please sign in to comment.