Skip to content

Commit

Permalink
chore(deps): update precommit hook asottile/pyupgrade to v2.25.0 (#404)
Browse files Browse the repository at this point in the history
* chore: fix pylint warning

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Augusto W. Andreoli <andreoliwa@gmail.com>
  • Loading branch information
3 people committed Aug 29, 2021
1 parent e135f3d commit 733d0a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -33,7 +33,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v2.24.0
rev: v2.25.0
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
Expand Down
2 changes: 1 addition & 1 deletion src/nitpick/style/config.py
Expand Up @@ -46,7 +46,7 @@ def _validate_item(self, key, info, value_dict):
return validation_errors

def _get_validation_schemas_for_file(self, info):
for plugin_class in self.project.plugin_manager.hook.can_handle(info=info):
for plugin_class in self.project.plugin_manager.hook.can_handle(info=info): # pylint: disable=no-member
yield plugin_class.validation_schema

def _validate_schemas(self, info, schemas, value_dict):
Expand Down

0 comments on commit 733d0a2

Please sign in to comment.