mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 12:34:17 +00:00
reached 100% testing cover
This commit is contained in:
parent
a9d54a63fc
commit
8e79502b8a
10 changed files with 13 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class LocationChecker(FileCheckerTemplateMethod):
|
|||
|
||||
def _check_file(self):
|
||||
"""Check filename location against enabled directories and their enabled files."""
|
||||
super(LocationChecker, self)._check_file()
|
||||
self.check_arguments_size_match(self.args.directories, self.args.files)
|
||||
file_directory_path = os.path.dirname(self.filename)
|
||||
file_name = os.path.basename(self.filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue