From ca38f2a9e6fa6d9c7fe2f5d9bf70fd7c5d82add7 Mon Sep 17 00:00:00 2001 From: Laurent Raufaste Date: Sun, 11 Feb 2024 18:09:21 +0100 Subject: [PATCH] Bunch of cleanups (#1999) --- .github/workflows/markdown.yaml | 2 +- .gitignore | 7 ------- .markdownlintignore | 1 + .mdl_style.rb | 4 ---- .mdlrc | 1 - Makefile | 4 +--- codecov.yml | 1 - 7 files changed, 3 insertions(+), 17 deletions(-) create mode 100644 .markdownlintignore delete mode 100644 .mdl_style.rb delete mode 100644 .mdlrc delete mode 100644 codecov.yml diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index 8f73aca67..9b4ccd386 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -7,7 +7,7 @@ on: jobs: - mdl: + markdownlint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore index 5e2e8eadb..3d6e5a1f1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,11 +2,4 @@ *.pyc # Generated by make release -/mackup.egg-info/ /dist/ - -# Generated by make test -/.coverage - -# Used by pyenv -/.python-version diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 000000000..2bfa6a4d9 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1 @@ +tests/ diff --git a/.mdl_style.rb b/.mdl_style.rb deleted file mode 100644 index 87660f6eb..000000000 --- a/.mdl_style.rb +++ /dev/null @@ -1,4 +0,0 @@ -all -rule 'MD007', :indent => 2 -rule 'MD029', :style => :ordered -exclude_rule 'MD041' diff --git a/.mdlrc b/.mdlrc deleted file mode 100644 index 8f1aa6109..000000000 --- a/.mdlrc +++ /dev/null @@ -1 +0,0 @@ -style './.mdl_style.rb' diff --git a/Makefile b/Makefile index 621171357..aedb6e084 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,11 @@ lint: - # Install mdl with "gem install mdl" - mdl . + markdownlint -c .markdownlint.yaml '**/*.md' test: poetry install --with dev poetry run pytest clean: - rm -rf __pycache__ rm -rf mackup/__pycache__ rm -rf tests/__pycache__ rm -rf dist/ diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 651ace8f3..000000000 --- a/codecov.yml +++ /dev/null @@ -1 +0,0 @@ -comments: false