From efd910272972d6f60b30fa1b0c3c18e597202ec9 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 23 Sep 2023 10:48:56 -0500 Subject: [PATCH] Move linters to base dir. --- .github/linters/.flake8 | 2 -- .github/linters/.markdownlint.yaml => .markdownlint.yaml | 0 .pre-commit-config.yaml | 4 ++-- .github/linters/.yamllint.yaml => .yamllint.yaml | 0 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 .github/linters/.flake8 rename .github/linters/.markdownlint.yaml => .markdownlint.yaml (100%) rename .github/linters/.yamllint.yaml => .yamllint.yaml (100%) diff --git a/.github/linters/.flake8 b/.github/linters/.flake8 deleted file mode 100644 index 6deafc2..0000000 --- a/.github/linters/.flake8 +++ /dev/null @@ -1,2 +0,0 @@ -[flake8] -max-line-length = 120 diff --git a/.github/linters/.markdownlint.yaml b/.markdownlint.yaml similarity index 100% rename from .github/linters/.markdownlint.yaml rename to .markdownlint.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dadd36a..8b23fe7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: yamllint args: - -c - - ".github/linters/.yamllint.yaml" + - ".yamllint.yaml" - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 @@ -29,7 +29,7 @@ repos: - id: check-executables-have-shebangs - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.3 + rev: v1.5.4 hooks: - id: forbid-crlf - id: forbid-tabs diff --git a/.github/linters/.yamllint.yaml b/.yamllint.yaml similarity index 100% rename from .github/linters/.yamllint.yaml rename to .yamllint.yaml