From 2d1dda737040d98d28d43e0c7a1068581544ab2f Mon Sep 17 00:00:00 2001 From: Felix Seifert Date: Mon, 18 Mar 2024 13:50:42 +0100 Subject: [PATCH 1/2] chore: handle deprecated linter settings --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 51c897c..85cdeba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,4 +49,4 @@ markers = [ src = ["src"] # Ignore line length limitation -ignore = ["E501"] \ No newline at end of file +lint.ignore = ["E501"] \ No newline at end of file From 2efdfdaef2036a116a325d9275e1b07581d8a7c0 Mon Sep 17 00:00:00 2001 From: Felix Seifert Date: Mon, 18 Mar 2024 13:51:29 +0100 Subject: [PATCH 2/2] 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