From de9889fc0bffd4a762541cb957f90d3aca7c4cdc Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Mon, 12 May 2025 15:35:58 -0600 Subject: [PATCH] ci: we do not need sourcery github workflow to use sourcery Signed-off-by: Rich Megginson --- .github/workflows/sourcery.yml | 29 ----------------------- .sourcery.yaml | 42 ---------------------------------- 2 files changed, 71 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 f1cf2763..00000000 --- a/.github/workflows/sourcery.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Check PR using Sourcery -on: # yamllint disable-line rule:truthy - pull_request: - merge_group: - branches: - - main - types: - - checks_requested - push: - branches: - - main - workflow_dispatch: -permissions: - contents: read -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.10" - - - uses: sourcery-ai/action@v1 - with: - token: ${{ secrets.SOURCERY_TOKEN }} diff --git a/.sourcery.yaml b/.sourcery.yaml deleted file mode 100644 index d9cc735d..00000000 --- a/.sourcery.yaml +++ /dev/null @@ -1,42 +0,0 @@ -ignore: - - .git - - venv - - .venv - - env - - .env - - .tox - - node_modules - - vendor - -rule_settings: - enable: [default] - disable: - - dict-literal - - list-literal - - replace-interpolation-with-fstring - - use-fstring-for-concatenation - rule_types: - - refactoring - - suggestion - - comment - python_version: "3.6" - -rules: [] - -metrics: - quality_threshold: 25.0 - -github: - labels: [] - ignore_labels: - - sourcery-ignore - request_review: author - sourcery_branch: sourcery/{base_branch} - -clone_detection: - min_lines: 3 - min_duplicates: 2 - identical_clones_only: false - -proxy: - no_ssl_verify: false