From 2efdfdaef2036a116a325d9275e1b07581d8a7c0 Mon Sep 17 00:00:00 2001 From: Felix Seifert Date: Mon, 18 Mar 2024 13:51:29 +0100 Subject: [PATCH] ci: add dir `ci` to linting --- .github/workflows/lint.yaml | 1 + pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index dd76a9b..89b19fb 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -29,6 +29,7 @@ jobs: with: sparse-checkout: | .github + ci src pyproject.toml requirements.txt diff --git a/pyproject.toml b/pyproject.toml index 85cdeba..4491e99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,8 +45,8 @@ markers = [ [tool.ruff] -# Lint only dir `src` -src = ["src"] +# Lint only mentioned dirs +src = ["src", "ci"] # Ignore line length limitation lint.ignore = ["E501"] \ No newline at end of file