diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 77c9c7776..a6441a06d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -89,13 +89,6 @@ repos: language: system types: [python] exclude: migrations - - repo: https://github.com/sourcery-ai/sourcery - rev: v1.15.1b41 - hooks: - - id: sourcery - # * review only changed lines: - # * omit the summary - args: [--diff=git diff HEAD, --no-summary] # markdown - repo: https://github.com/DavidAnson/markdownlint-cli2 rev: v0.9.2 diff --git a/.sourcery.yaml b/.sourcery.yaml deleted file mode 100644 index da2e9f588..000000000 --- a/.sourcery.yaml +++ /dev/null @@ -1,70 +0,0 @@ -# 🪄 This is your project's Sourcery configuration file. - -# You can use it to get Sourcery working in the way you want, such as -# ignoring specific refactorings, skipping directories in your project, -# or writing custom rules. - -# 📚 For a complete reference to this file, see the documentation at -# https://docs.sourcery.ai/Configuration/Project-Settings/ - -# This file was auto-generated by Sourcery on 2023-06-23 at 16:09. - -version: '1' # The schema version of this config file - -ignore: # A list of paths or files which Sourcery will ignore. -- .git -- venv -- .venv -- env -- .env -- .tox -- node_modules -- vendor - -rule_settings: - enable: - - default - disable: [] # A list of rule IDs Sourcery will never suggest. - rule_types: - - refactoring - - suggestion - - comment - python_version: '3.10' # A string specifying the lowest Python version your project supports. Sourcery will not suggest refactorings requiring a higher Python version. - -# rules: # A list of custom rules Sourcery will include in its analysis. -# - id: no-print-statements -# description: Do not use print statements in the test directory. -# pattern: print(...) -# language: python -# replacement: -# condition: -# explanation: -# paths: -# include: -# - test -# exclude: -# - conftest.py -# tests: [] -# tags: [] - -# rule_tags: {} # Additional rule tags. - -# 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: -# url: -# ssl_certs_file: -# no_ssl_verify: false diff --git a/renovate.json b/renovate.json index 6e67f2a3a..0bda0fb1f 100644 --- a/renovate.json +++ b/renovate.json @@ -14,7 +14,7 @@ "prPriority": -1 }, { - "matchPackagePatterns": ["eslint", "prettier", "pylint", "sourcery", "pretty_assertions", "pre-commit", "mypy", "sourcery"], + "matchPackagePatterns": ["eslint", "prettier", "pylint", "pretty_assertions", "pre-commit", "mypy", "sourcery"], "groupName": "linting" }, { diff --git a/requirements-dev.txt b/requirements-dev.txt index 762441fd3..0d97a3239 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,6 @@ mypy~=1.8.0 pre-commit~=3.6.0 pylint~=3.0.0 -sourcery~=1.15.0 types-Pillow~=10.2.0.20240111 types-PyYAML~=6.0.12.10 types-requests~=2.31.0.1