From 936699ee0cb49351b2c8a74fbf1ceeb3d6091704 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 24 Mar 2022 12:07:37 +0100 Subject: [PATCH] Linting: Check that editorconfig file exists --- CHANGELOG.md | 1 + nf_core/lint/files_exist.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3fc48382c..399db4dc61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Very minor patch release to fix the full size AWS tests and re-run the template - Add prettier editor extension to `gitpod.yml` in template ([#1485](https://github.com/nf-core/tools/pull/1485)) - Remove traces of markdownlint in the template ([#1486](https://github.com/nf-core/tools/pull/1486) - Remove accidentally added line in `CHANGELOG.md` in the template ([#1487](https://github.com/nf-core/tools/pull/1487)) +- Update linting to check that `.editorconfig` is there and `.yamllint.yml` isn't. ## [v2.3.1 - Mercury Vulture Formatting](https://github.com/nf-core/tools/releases/tag/2.3.1) - [2022-03-23] diff --git a/nf_core/lint/files_exist.py b/nf_core/lint/files_exist.py index 74693d03e3..8b23a88619 100644 --- a/nf_core/lint/files_exist.py +++ b/nf_core/lint/files_exist.py @@ -21,6 +21,7 @@ def files_exist(self): .gitattributes .gitignore .nf-core.yml + .editorconfig .prettierrc.yml .github/.dockstore.yml .github/CONTRIBUTING.md @@ -104,6 +105,7 @@ def files_exist(self): [".gitattributes"], [".gitignore"], [".nf-core.yml"], + [".editorconfig"], [".prettierrc.yml"], ["CHANGELOG.md"], ["CITATIONS.md"],