Commit Graph

4595 Commits

Author SHA1 Message Date
Mike Salvatore 13d99a4ccc agent: Fix W291 trailing whitespace warnings 2021-04-07 13:49:37 -04:00
Mike Salvatore c9d64ea40c zoo: resolve E501 flake8 warnings in monkey zoo 2021-04-07 13:47:50 -04:00
Mike Salvatore 7901446b4e ci: expand flake8 checks from `monkey/` to whole repo 2021-04-07 13:41:40 -04:00
Mike Salvatore a6a306a099 Fix exclude path in flake8 config 2021-04-07 13:40:01 -04:00
Mike Salvatore 4466ff44cf Run black to resolve E261 warnings 2021-04-07 13:40:01 -04:00
VakarisZ 56e754eddd Manual fixes of long line refactorings gone wrong 2021-04-07 13:40:01 -04:00
VakarisZ 73da6fdc40 Manually fixed long lines not picked up by automatic refactoring 2021-04-07 13:40:01 -04:00
VakarisZ 1c44ada9bb Added noqa to long import which is the outcome of running black 2021-04-07 13:40:01 -04:00
VakarisZ 3149dcc8ec Fixed screwed up formatting with black 2021-04-07 13:40:01 -04:00
VakarisZ 03bcfc97af All E501 errors fixed, but formatting screwed up 2021-04-07 13:40:01 -04:00
Mike Salvatore ad2b2f88f5 Add information about isort to changelog 2021-04-06 19:22:23 -04:00
Mike Salvatore d5e43fbf51 cc: Remove unused `Dict` import in exploiter_descriptor_enum.py 2021-04-06 18:06:31 -04:00
Mike Salvatore f85e6fc7d0 Sort all imports using isort 5.8.0 2021-04-06 18:01:59 -04:00
Shreya ca365717b1 Modify travis script for isort 2021-04-06 17:50:52 -04:00
Shreya d5b74d70b2 Modify isort configuration 2021-04-06 17:50:51 -04:00
Mike Salvatore 661f3907a9 Merge branch 'paint-it-black' into develop
Resolves #1070
2021-04-06 17:42:21 -04:00
Mike Salvatore 17da8896af Add information about black to changelog 2021-04-06 17:41:25 -04:00
Shreya 42db1c497a Mark PostgreSQL fingerprinter safe 2021-04-06 19:04:17 +05:30
Mike Salvatore c40f7bf6c9 Reformat all python with black v20.8b1 2021-04-06 09:20:18 -04:00
Shreya 7343b50135 Add configuration for black 2021-04-06 09:15:35 -04:00
Mike Salvatore d0e1239b27 ci: fail the build if code is not formatted with black 2021-04-06 09:15:35 -04:00
Shreya Malviya c7a241e776
Merge pull request #1068 from guardicore/report_refactoring
Report refactoring
2021-04-06 18:43:59 +05:30
Shreya 7973a35338 Fix unit tests 2021-04-06 18:31:02 +05:30
Shreya fa0729881e Remove unused imports 2021-04-06 18:12:03 +05:30
Mike Salvatore 47b74673d7
Merge pull request #1078 from guardicore/flake8
Flake8 improvements
2021-04-06 07:15:01 -04:00
Mike Salvatore b94568f976 ci: add comment about what flake8 C901 warnings are 2021-04-06 06:59:03 -04:00
VakarisZ 0b34d30fd6 Improved exploiter descriptors and usage of them in report.py 2021-04-06 11:35:41 +03:00
VakarisZ 6685b24da4 Removed unused annotations import 2021-04-06 10:16:05 +03:00
VakarisZ 87cec0036d Fixed report to show display names instead of class names of exploiters where needed 2021-04-06 10:11:34 +03:00
Mike Salvatore 46be7ae0d4 agent: resolve E741 flake8 warnings 2021-04-05 14:48:33 -04:00
Mike Salvatore 07afa27ec1 ci: add C901 to flake8's `extend-ignore` list
Issue #1076 has been created to track the task of resolving C901 errors
and removing C901 from the ignore list.
2021-04-05 14:44:42 -04:00
Mike Salvatore c1929c2bd3 ci: remove dlint from travis
Issue #1075 has been created to track the task to add this back in and
integrate with pre-commit
2021-04-05 14:26:24 -04:00
Mike Salvatore a7f8efa102 ci: fail travis build if flake8 finds any issues 2021-04-05 13:45:18 -04:00
Mike Salvatore 8ed4224341 build: Move flake8 config to `.flake8` 2021-04-05 13:38:31 -04:00
Shreya 3e419478af Fix F841 warnings 2021-04-05 20:33:19 +05:30
Shreya d8e1be7d6f Fix F401 warnings 2021-04-05 20:33:19 +05:30
Shreya d0168dfb9e Fix E722 warnings 2021-04-05 20:33:19 +05:30
Shreya 7bfdc3c7e5 Fix W605 warnings 2021-04-05 20:33:17 +05:30
Shreya 278326e4e4 Fix W293 warnings 2021-04-05 17:46:43 +05:30
Shreya 480f6ccc7f Modify configuration for flake8 2021-04-05 15:46:45 +05:30
Mike Salvatore e616fcdf50 Merge branch 'appimage' into develop 2021-04-04 21:53:06 -04:00
Mike Salvatore f7cc01811c build: address shellcheck findings in build_appimage.sh 2021-04-04 21:28:04 -04:00
Mike Salvatore ed3d55c8aa build: run `apt upgrade` in appimage script 2021-04-04 21:08:48 -04:00
VakarisZ de2581d323 Extended exploiter report info class to have all possible values that exploit processors could add 2021-04-02 12:00:04 +03:00
VakarisZ 72a97e6465 Small style fixes and improvements 2021-04-02 11:59:28 +03:00
Mike Salvatore bbe075bca5 build: remove unused monkey_island.desktop 2021-04-01 12:28:39 -04:00
Mike Salvatore 5b1296e05d build: Add README with instructions for appimage builder 2021-04-01 12:25:34 -04:00
Mike Salvatore 8278e0eb6b build: improve appimage build script quality by addressing review comments 2021-04-01 12:25:06 -04:00
Mike Salvatore 74f1dd1af5 Add PostgreSQL finderprinter to CHANGELOG.md 2021-03-31 13:51:31 -04:00
Mike Salvatore 7d0de002c7
Merge pull request #892 from shreyamalviya/postgresql-fp
PostgreSQL Fingerprinter
2021-03-31 13:26:42 -04:00