Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
v0.1.4
Browse files Browse the repository at this point in the history
lgulich committed Mar 29, 2020
1 parent cc5235e commit 8b067c8
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
dist/
*.egg-info
__pycache__
2 changes: 1 addition & 1 deletion lib/lg_linter/config/CPPLINT.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
filter=-legal/copyright,-build/header_guard
filter=-legal/copyright,-build/header_guard,-build/include_order
6 changes: 3 additions & 3 deletions lib/lg_linter/scripts/init_lg_linter
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ REPO_DIR="$(git rev-parse --show-toplevel)"
touch "$REPO_DIR"/.git/hooks/pre-commit
chmod +x "$REPO_DIR"/.git/hooks/pre-commit

PRE_COMMIT_SCRIPT='
PRE_COMMIT_SCRIPT="
#!/usr/bin/env python3
import os
@@ -24,6 +24,6 @@ def main():
if __name__ == '__main__':
exit(main())
'
"

echo "$PRE_COMMIT_SCRIPT" >> "$REPO_DIR"/.git/hooks/pre-commit
echo "$PRE_COMMIT_SCRIPT" > "$REPO_DIR"/.git/hooks/pre-commit
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -9,14 +9,14 @@

setuptools.setup(
name="lg-linter",
version="v0.1.3",
version="v0.1.4",
author="Lionel Gulich",
author_email="lgulich@ethz.ch",
url="https://github.com/lgulich/lg-linter",
description="A pre commit linter for cpp, python and sh.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
download_url="https://github.com/lgulich/lg-linter/archive/v0.1.2b.tar.gz",
download_url="https://github.com/lgulich/lg-linter/archive/v0.1.4.tar.gz",
install_requires=[
'gitpython',
'pylint',

0 comments on commit 8b067c8

Please sign in to comment.