Skip to content

Commit

Permalink
chore: Remove common noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 14, 2024
1 parent 1679ff7 commit 3ff3d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jscc/testing/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def block(path, data, pointer):
errors = 0

parts = pointer.rsplit('/')
grandparent = parts[-2] if len(parts) >= 3 else None # noqa: PLR2004
grandparent = parts[-2] if len(parts) >= 3 else None
parent = parts[-1]

# Look for metadata fields on user-defined objects only. (Add exceptional condition for "items" field.)
Expand Down Expand Up @@ -545,7 +545,7 @@ def block(path, data, pointer):
errors = 0

parts = pointer.rsplit('/', 2)
grandparent = parts[-2] if len(parts) == 3 else None # noqa: PLR2004
grandparent = parts[-2] if len(parts) == 3 else None

if (
pointer
Expand Down

0 comments on commit 3ff3d28

Please sign in to comment.