Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/config/sourcery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Consider updating the python_version as 3.6 is approaching end-of-life.

Upgrading to a newer Python version ensures better compatibility, performance, and alignment with current standards.

Suggested change
python_version: "3.6"
python_version: "3.9"


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
1 change: 1 addition & 0 deletions .github/workflows/sourcery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ jobs:
- uses: sourcery-ai/action@v1
with:
token: ${{ secrets.SOURCERY_TOKEN }}
config: .github/config/sourcery.yaml
Loading