From 8e5b86d0461466a6960fa4874a4f9286e63a9653 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 3 Feb 2021 09:18:15 +0100 Subject: Remove hardcoded tests and use JSON config instead --- sample_config.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sample_config.json (limited to 'sample_config.json') diff --git a/sample_config.json b/sample_config.json new file mode 100644 index 0000000..81b1e15 --- /dev/null +++ b/sample_config.json @@ -0,0 +1,15 @@ +{ + "tests": [ + {"name": "black", + "params": ["black", "--check", "--diff", "--no-color", "-q", "%p"], + "check": true}, + {"name": "pyflakes", "params": ["pyflakes", "%p"], "check": true}, + {"name": "isort", + "params": ["isort", "--check", "--diff", "%p"], + "check": true}, + {"name": "pylint", + "params": ["pylint", "-r", "no", "--exit-zero", "%p"], + "check": true} + ] + +} -- cgit v1.3