mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Allow spaces in system hooks. Closes #95.
This commit is contained in:
parent
53e316ade4
commit
61606cfaa4
5 changed files with 28 additions and 12 deletions
|
|
@ -1,11 +0,0 @@
|
|||
from setuptools import find_packages
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='prints_cwd',
|
||||
version='0.0.0',
|
||||
packages=find_packages('.'),
|
||||
entry_points={
|
||||
'console_scripts': ['prints_cwd = prints_cwd.main:func'],
|
||||
},
|
||||
)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
- id: system-hook-with-spaces
|
||||
name: System hook with spaces
|
||||
entry: /usr/bin/python -c 'import sys; print("Hello World")'
|
||||
language: system
|
||||
Loading…
Add table
Add a link
Reference in a new issue