diff --git a/README.md b/README.md index d2d1630..b7b9ca8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Vigil maintains an up-to-date set of reports for every file in a codebase. ### Installation -(Tested in Ubuntu 17.04) +(Tested in Ubuntu 17.10) # git clone https://github.com/ahamilton/vigil # cd vigil diff --git a/appimage/AppRun b/appimage/AppRun index 91474d0..9ad2e51 100755 --- a/appimage/AppRun +++ b/appimage/AppRun @@ -13,7 +13,7 @@ export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/local/bin/:"${PATH}" export UNION_PRELOAD="${HERE}" export LD_PRELOAD="${HERE}/libunionpreload.so" export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}" -export PYTHONPATH=/usr/local/lib/python3.5/dist-packages:"${PYTHONPATH}" +export PYTHONPATH=/usr/local/lib/python3.6/dist-packages:"${PYTHONPATH}" if [ -z $APPIMAGE_ENTER ]; then EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g') exec ${EXEC} $@ diff --git a/install-tools b/install-tools index fa90ec3..46a3d6c 100755 --- a/install-tools +++ b/install-tools @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/make-appimage.py b/make-appimage.py index 9ab6a43..0b3d38b 100755 --- a/make-appimage.py +++ b/make-appimage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/make-readme.py b/make-readme.py index e2b0ec0..a8fc584 100755 --- a/make-readme.py +++ b/make-readme.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # -*- coding: utf-8 -*- # Copyright (C) 2017 Andrew Hamilton. All rights reserved. @@ -23,7 +23,7 @@ Vigil maintains an up-to-date set of reports for every file in a codebase. ### Installation -(Tested in Ubuntu 17.04) +(Tested in Ubuntu 17.10) # git clone https://github.com/ahamilton/vigil # cd vigil diff --git a/setup.py b/setup.py index 5b22be3..e09b708 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/test_distributions.py b/test_distributions.py index 1cb8835..0ca4044 100755 --- a/test_distributions.py +++ b/test_distributions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/__main___test.py b/tests/__main___test.py index e09049c..f203cce 100755 --- a/tests/__main___test.py +++ b/tests/__main___test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/fill3_test.py b/tests/fill3_test.py index 5db5720..92ba613 100755 --- a/tests/fill3_test.py +++ b/tests/fill3_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # -*- coding: utf-8 -*- # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. diff --git a/tests/golden-files/results/metadata-hi3_py b/tests/golden-files/results/metadata-hi3_py index 1322b5a..30970d0 100644 --- a/tests/golden-files/results/metadata-hi3_py +++ b/tests/golden-files/results/metadata-hi3_py @@ -14,5 +14,5 @@ md5:(B 28ca2e417cb64ea4e555efe3203642de (Bsha1:(B 8b8c0214f3f0a0d79032d1b44550064964a33a26 -(Bmime type:(B text/plain; charset=us-ascii -(Bfile type:(B ASCII text  \ No newline at end of file +mime type:(B text/x-python; charset=us-ascii +(Bfile type:(B Python script, ASCII text executable  \ No newline at end of file diff --git a/tests/golden-files/results/mypy-hi_py b/tests/golden-files/results/mypy-hi_py index 4d92068..ae76bcd 100644 --- a/tests/golden-files/results/mypy-hi_py +++ b/tests/golden-files/results/mypy-hi_py @@ -1 +1 @@ -input/hi.py:4: error: Parse error before string literal +input/hi.py:4: error: Missing parentheses in call to 'print'. Did you mean print(int "hi")? diff --git a/tests/golden-files/results/python_mccabe-hi3_py b/tests/golden-files/results/python_mccabe-hi3_py index 40bcbbc..83a3b56 100644 --- a/tests/golden-files/results/python_mccabe-hi3_py +++ b/tests/golden-files/results/python_mccabe-hi3_py @@ -1 +1 @@ -3:1: 'hi' 1 +3:0: 'hi' 1 diff --git a/tests/golden-files/results/python_mccabe-hi_py b/tests/golden-files/results/python_mccabe-hi_py index d81cc5c..6859386 100644 --- a/tests/golden-files/results/python_mccabe-hi_py +++ b/tests/golden-files/results/python_mccabe-hi_py @@ -1 +1 @@ -("3:1: 'hi'", 1) +("3:0: 'hi'", 1) diff --git a/tests/golden-files/results/readelf-Mcrt1_o b/tests/golden-files/results/readelf-Mcrt1_o index 9fc1ece..c63a04b 100644 --- a/tests/golden-files/results/readelf-Mcrt1_o +++ b/tests/golden-files/results/readelf-Mcrt1_o @@ -38,6 +38,8 @@ There are no section groups in this file. There are no program headers in this file. +There is no dynamic section in this file. + There are no relocations in this file. The decoding of unwind sections for machine type Intel 80386 is not currently supported. diff --git a/tests/gut_test.py b/tests/gut_test.py index ea59d68..848bd42 100755 --- a/tests/gut_test.py +++ b/tests/gut_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/lscolors_test.py b/tests/lscolors_test.py index 6b61f2b..6ad76b3 100755 --- a/tests/lscolors_test.py +++ b/tests/lscolors_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2011, 2015-2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/termstr_test.py b/tests/termstr_test.py index 4f46af5..3dff633 100755 --- a/tests/termstr_test.py +++ b/tests/termstr_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/tools_test.py b/tests/tools_test.py index e8a6dcd..75eb693 100755 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/worker_test.py b/tests/worker_test.py index b3ef691..9bd50fe 100755 --- a/tests/worker_test.py +++ b/tests/worker_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/vigil/__main__.py b/vigil/__main__.py index 35666c2..046a519 100755 --- a/vigil/__main__.py +++ b/vigil/__main__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # -*- coding: utf-8 -*- # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. diff --git a/vigil/gut.py b/vigil/gut.py index fd68fcc..e574276 100755 --- a/vigil/gut.py +++ b/vigil/gut.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/vigil/tools.py b/vigil/tools.py index 668a199..bb80820 100644 --- a/vigil/tools.py +++ b/vigil/tools.py @@ -612,10 +612,10 @@ def uncrustify(path): return status, _syntax_highlight_using_path(stdout, path) -@deps(deps={"php7.0-cli"}, url="https://en.wikipedia.org/wiki/PHP", - executables={"php7.0"}) +@deps(deps={"php7.1-cli"}, url="https://en.wikipedia.org/wiki/PHP", + executables={"php7.1"}) def php7_syntax(path): - return _run_command(["php7.0", "--syntax-check", path]) + return _run_command(["php7.1", "--syntax-check", path]) def _pil_pixels(pil_image): diff --git a/vigil/worker.py b/vigil/worker.py index a4dc310..d58bc1e 100755 --- a/vigil/worker.py +++ b/vigil/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.5 +#!/usr/bin/env python3.6 # Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0.