Commit graph

32 commits

Author SHA1 Message Date
0054c8dfd2 Move to python3.8. 2020-04-24 23:47:12 +10:00
1cf2fc445c Revert "Move to python3.8.0"
This reverts commit 04fb17cb3f.
- Am seeing a bug where only one worker continues processing
  on python3.8.
- Ubuntu and freedesktop-sdk are still on 3.7.
- Not using any features of 3.8 yet.
- Also removes color from mypy.
2019-12-19 14:47:00 +10:00
4a2f99d795 Coding style.
- Linting.
2019-12-04 18:39:22 +10:00
04fb17cb3f Move to python3.8.0 2019-11-06 14:07:33 +10:00
3dfb81563c tools: Change coverage tool to work with '.coverage' file.
- Was generating coverage by running a corresponding test file
  for the current file.  Wasn't obvious where test file was.
- This shows coverage if a .coverage file exists which is newer
  than the current file.
- The .coverage file needs to be created independantly. And then
  the reports can be refreshed.
2019-09-09 12:20:56 +10:00
a0a5e013fe Fix some warnings from tests. 2019-09-02 16:38:38 +10:00
195165d826 tools: Enable color for bandit.
- Also timeout can now be specified in tools.toml.
- Not truncating the timestamp from bandit anymore,
  so dropping its golden file.
2019-07-21 22:30:29 +10:00
9b5ad3332e Coding style.
- Tools should return a status and a text string,
  not a status and a fill3 widget.
2019-07-18 23:58:01 +10:00
b0768a0467 Exempt WebAssembly tools, since not yet in Ubuntu. 2019-07-10 11:38:55 +10:00
be489b0628 tools: Remove missed code formatter. 2019-05-31 14:29:35 +10:00
ad2061835a Remove perltidy temporarily for flatpak build. 2019-05-20 15:23:03 +10:00
5fcdd0ea50 Remove code formatters.
- Maybe these should be returned if the output is a diff with the
  current file.
- bcpp, uncrustify, gofmt, clang_format.
2019-05-17 11:10:45 +10:00
be3fec26a3 Update copyrights. 2019-02-04 11:48:47 +10:00
6f11326fda tools: Dropped splint since its unmaintained and doesn't compile. 2019-01-25 12:03:31 +10:00
85a5840cff tools: Not detecting the type of python files. Assuming python3.
- Also now not using any tools that depend on python2.
- Simplifies installation.
- Personally not using python2.
- Eris is not used widely enough to justify supporting python2 files.
- The way of determining whether a source file was python2 or python3 was
  not very good.
2019-01-21 11:46:51 +10:00
8e5cc0eac9 Rename the project to Eris. 2018-09-17 23:59:38 +10:00
8ae0f203f2 Move to python3.7
- Now getting python packages using pip instead of the ubuntu versions.
- System wide installations now aren't supported.
2018-09-02 16:00:44 +10:00
3a62a2a0d7 tools: Always show problems with problem status.
- Some tools are strict and produce many issues. Previously
  their problems were ignored, and given normal status.
- Which tools produce too many issues is not obvious, better
  to be consistent and show problems for all.
2018-07-05 21:46:06 +10:00
3609b31b29 tools: Fixed broken test.
- This was missed when changing from unzip to zipinfo.
2018-06-04 09:27:43 +10:00
f414cc4a96 tools: Moved TOOLS_FOR_EXTENSIONS into tools.toml
- Now a tool can be added/removed by editing one file.
2018-05-18 13:04:08 +10:00
0d204d2a8f tools: Missed this when specifying tools in the yaml file. 2018-04-06 20:56:39 +10:00
b8732c3028 Updated copyrights. 2018-01-12 15:00:39 +10:00
4935c585aa Made work on Ubuntu 17.10.
- Changed to python3.6.
- Accepted minor differences in golden files.
- php is now 7.1.
- Updated README.
- Need to test that the AppImage still works.
2017-10-27 12:39:50 +10:00
09cc7d3272 Changed pydoc's output to not show an absolute path.
- The absolute path was causing tools_test.py to fail within
  test_distributions.py.
2017-09-05 19:24:31 +01:00
111d362942 Explicitly using python3.5.
- Async and await keywords don't work with python3.4.
2017-09-02 11:59:10 +01:00
93d1fdb87a appimage: Used test_distributions to fix the AppImage. 2017-07-23 18:21:18 +01:00
cbdbac0219 [tools] Removed clang tools.
- They were doubling the size of the AppImage.
- The gcc tools do very similar syntax checking.
2017-07-17 10:50:18 +01:00
5572cdc9d6 [tools] Replaced disassemble_pyc by pydisasm.
- pydisasm handles many types of bytecode.
2017-07-11 14:09:07 +01:00
78d7c528b4 Coding style.
- Removed unnecessary mocking.
2017-07-10 11:13:52 +01:00
1b4d90a7f0 Disabled a flaky test. 2017-07-09 21:36:20 +01:00
9e410fa796 Simplified test-all.
- Tests scripts can be run directly, but only when cwd is the
  'tests' directory.
- Fixed a broken import missed in the previous commit.
2017-06-28 11:38:29 +01:00
5728e5cff3 Made vigil into a package with a setup.py file. 2017-06-27 14:03:32 +01:00
Renamed from tools_test.py (Browse further)