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

Commit

Permalink
use cpplint
Browse files Browse the repository at this point in the history
  • Loading branch information
lgulich committed Mar 17, 2020
1 parent 87520fb commit 5646f07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/lg_linter/src/file_linters.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def lint_cpp_file(file_path):
os.system(f'clang-format -i {file_path}')
completed_process = subprocess.run(['cppcheck', file_path],
completed_process = subprocess.run(['cpplint', file_path],
stdout=subprocess.PIPE)

if completed_process.returncode is 0:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

setuptools.setup(
name="lg-linter",
version="0.1.0",
version="v0.1.1-alpha",
author="Lionel Gulich",
author_email="[email protected]",
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.0-alpha.tar.gz",
"https://github.com/lgulich/lg-linter/archive/v0.1.1-alpha.tar.gz",
install_requires=[
'gitpython',
'pylint',
Expand All @@ -36,7 +36,7 @@
include_package_data=True,
data_files=[('/' + HOME_PATH, [
os.path.join(CONFIG_PATH, '.clang-format'),
os.path.join(CONFIG_PATH, 'pylint.rc'),
os.path.join(CONFIG_PATH, '.pylintrc'),
os.path.join(CONFIG_PATH, 'cpplint.py')
])],
scripts=[
Expand Down

0 comments on commit 5646f07

Please sign in to comment.