Skip to content

Commit c7b6cb5

Browse files
committed
Fix windows support
1 parent 096c0ed commit c7b6cb5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- id: check-copyright
22
name: Check copyright notices
3-
entry: check_copyright.py --verbose --replace
3+
entry: check-copyright --verbose --replace
44
language: python
55
files: \.(py|c|h|cpp|hpp|ld|s|S)$
66
require_serial: true

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@
3333
url=URL,
3434
install_requires=REQUIRES,
3535
py_modules=['check_copyright'],
36-
scripts=['check_copyright.py']
36+
scripts=['check_copyright.py'],
37+
entry_points={'console_scripts': ['check-copyright=check_copyright:main']},
3738
)

0 commit comments

Comments
 (0)