-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds pep8 linting for Python scripts and bashate linting for shell scripts. Signed-off-by: Nicolas Bock <[email protected]>
- Loading branch information
1 parent
b44bfb1
commit 412c2ec
Showing
5 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
name="bmlscripts", | ||
version="0.1", | ||
packages=setuptools.find_packages(), | ||
entry_points={ | ||
"console_scripts": [ | ||
"convert-template = scripts.convert_template:main" | ||
]} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[tox] | ||
envlist = py2, py3, lint | ||
|
||
[testenv] | ||
commands = python setup.py test | ||
|
||
[testenv:lint] | ||
deps = | ||
pycodestyle | ||
bashate | ||
commands = | ||
pycodestyle scripts | ||
bashate \ | ||
build.sh scripts/indent.sh |