Skip to content

Commit

Permalink
Fix ruff lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Oct 18, 2023
1 parent 97c2fbc commit 101eeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_reviewers/reviewers.py
Expand Up @@ -256,7 +256,7 @@ def read_from_json(self, args_json):
config = json.loads(config_data)
except (FileNotFoundError, json.decoder.JSONDecodeError):
return
if type(config) is not dict:
if not isinstance(config, dict):
return

self.verbose = config.get('verbose', self.verbose)
Expand Down

0 comments on commit 101eeff

Please sign in to comment.