mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 21:34:18 +00:00
new path
This commit is contained in:
parent
68581c54e5
commit
17cb1642cc
1 changed files with 0 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ def main(argv: Sequence[str] | None = None) -> int:
|
||||||
reg = re.compile(args.pattern)
|
reg = re.compile(args.pattern)
|
||||||
for filename in args.filenames:
|
for filename in args.filenames:
|
||||||
base = os.path.basename(filename)
|
base = os.path.basename(filename)
|
||||||
print(base)
|
|
||||||
# Check for files that should be ignored
|
# Check for files that should be ignored
|
||||||
if base in ('__init__.py', 'conftest.py', 'models.py'):
|
if base in ('__init__.py', 'conftest.py', 'models.py'):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue