From d15653274a30cd689218b4e01289ac8e840f9b2d Mon Sep 17 00:00:00 2001 From: Toni Rosinol Date: Sun, 9 Jun 2019 23:01:32 -0400 Subject: [PATCH] Use linter config --- .linterconfig.yaml | 11 ++++------- linterconfig.yaml | 16 ---------------- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 linterconfig.yaml diff --git a/.linterconfig.yaml b/.linterconfig.yaml index ac45c1e0e..e27d35434 100644 --- a/.linterconfig.yaml +++ b/.linterconfig.yaml @@ -1,8 +1,8 @@ # Turn the components of the linter individualy on / off. -clangformat: on -cpplint: on -yapf: on -pylint: on +use_clangformat: on +use_cpplint: on +use_yapf: on +use_pylint: on # If on, the linter blocks commits after detecting an error. Otherwise, the # user is asked whether to proceed with the commit. @@ -11,6 +11,3 @@ block_commits: off # If this whitelist block is present, the linter only operates on the files and # directories listed in this whitelist. whitelist: - - rel/path/to/file.py - - another_file.py - - some/directory diff --git a/linterconfig.yaml b/linterconfig.yaml deleted file mode 100644 index ac45c1e0e..000000000 --- a/linterconfig.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Turn the components of the linter individualy on / off. -clangformat: on -cpplint: on -yapf: on -pylint: on - -# If on, the linter blocks commits after detecting an error. Otherwise, the -# user is asked whether to proceed with the commit. -block_commits: off - -# If this whitelist block is present, the linter only operates on the files and -# directories listed in this whitelist. -whitelist: - - rel/path/to/file.py - - another_file.py - - some/directory