From c3ccc3646292a855682e1bdeb42f9dbab9f30e46 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Mon, 5 Feb 2024 16:06:37 +0100 Subject: [PATCH] chore: remove sourcery (#805) --- .github/workflows/sourcery.yml | 20 ------------------ .sourcery.yaml | 21 ------------------- .../check_consistency_with_ontology.py | 1 - .../models/ontology_diagnose_models.py | 2 -- 4 files changed, 44 deletions(-) delete mode 100644 .github/workflows/sourcery.yml delete mode 100644 .sourcery.yaml diff --git a/.github/workflows/sourcery.yml b/.github/workflows/sourcery.yml deleted file mode 100644 index c0dba5dab..000000000 --- a/.github/workflows/sourcery.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Check PR using Sourcery - -on: pull_request - -jobs: - review-with-sourcery: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - uses: actions/setup-python@v5 - with: - python-version: 3.12 - - - uses: sourcery-ai/action@v1 - with: - token: ${{ secrets.SOURCERY_TOKEN }} - diff_ref: ${{ github.event.pull_request.base.sha }} diff --git a/.sourcery.yaml b/.sourcery.yaml deleted file mode 100644 index a5d48bb52..000000000 --- a/.sourcery.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Sourcery configuration file. -# 📚 For a complete reference to this file, see the documentation at -# https://docs.sourcery.ai/Configuration/Project-Settings/ - - -version: '1' - -ignore: - - src/dsp_tools/commands/project/models - - src/dsp_tools/commands/xmlupload/models - - src/dsp_tools/models - -rule_settings: - enable: - - default - disable: [] - rule_types: - - refactoring - - suggestion - - comment - python_version: '3.12' diff --git a/src/dsp_tools/commands/xmlupload/check_consistency_with_ontology.py b/src/dsp_tools/commands/xmlupload/check_consistency_with_ontology.py index af54d828b..f19925b9c 100644 --- a/src/dsp_tools/commands/xmlupload/check_consistency_with_ontology.py +++ b/src/dsp_tools/commands/xmlupload/check_consistency_with_ontology.py @@ -1,4 +1,3 @@ -# sourcery skip: use-fstring-for-concatenation from datetime import datetime from pathlib import Path diff --git a/src/dsp_tools/commands/xmlupload/models/ontology_diagnose_models.py b/src/dsp_tools/commands/xmlupload/models/ontology_diagnose_models.py index 2702287f9..252e27601 100644 --- a/src/dsp_tools/commands/xmlupload/models/ontology_diagnose_models.py +++ b/src/dsp_tools/commands/xmlupload/models/ontology_diagnose_models.py @@ -1,5 +1,3 @@ -# sourcery skip: use-fstring-for-concatenation - import itertools from dataclasses import dataclass, field