We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 096c0ed commit c7b6cb5Copy full SHA for c7b6cb5
.pre-commit-hooks.yaml
@@ -1,6 +1,6 @@
1
- id: check-copyright
2
name: Check copyright notices
3
- entry: check_copyright.py --verbose --replace
+ entry: check-copyright --verbose --replace
4
language: python
5
files: \.(py|c|h|cpp|hpp|ld|s|S)$
6
require_serial: true
setup.py
@@ -33,5 +33,6 @@
33
url=URL,
34
install_requires=REQUIRES,
35
py_modules=['check_copyright'],
36
- scripts=['check_copyright.py']
+ scripts=['check_copyright.py'],
37
+ entry_points={'console_scripts': ['check-copyright=check_copyright:main']},
38
)
0 commit comments