From bfc5715f0c8dae908c7311d8273f3b2b059c585e Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Fri, 26 Apr 2024 18:06:59 +0200 Subject: [PATCH] Move `.pylintrc` to top level (#49) --- third_party/styleguide/.pylintrc => .pylintrc | 0 ci_lint_runner.py | 2 +- third_party/styleguide/README.md | 5 ----- 3 files changed, 1 insertion(+), 6 deletions(-) rename third_party/styleguide/.pylintrc => .pylintrc (100%) delete mode 100644 third_party/styleguide/README.md diff --git a/third_party/styleguide/.pylintrc b/.pylintrc similarity index 100% rename from third_party/styleguide/.pylintrc rename to .pylintrc diff --git a/ci_lint_runner.py b/ci_lint_runner.py index a312a58..d069912 100644 --- a/ci_lint_runner.py +++ b/ci_lint_runner.py @@ -12,7 +12,7 @@ folder_path = sys.argv[1] threshold = float(sys.argv[2]) -args = "--rcfile=./third_party/styleguide/.pylintrc" +args = "--rcfile=.pylintrc" cmd = "pylint " + folder_path + " " + args diff --git a/third_party/styleguide/README.md b/third_party/styleguide/README.md deleted file mode 100644 index f24ea74..0000000 --- a/third_party/styleguide/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Google Style Guides - -This folder contains the `pylintrc` imported from [google/styleguide](https://github.com/google/styleguide) project -at state [google/styleguide@ea180f7](https://github.com/google/styleguide/commit/ea180f7259da4ae90ae086c1eefbeb5f440dbea2) as `.pylintrc`, -which was slightly adapted to our needs.