restincode/.sourcery.yaml
mauvehed 19f27436a2 feat: add Ruby version file, Sourcery configuration file, Gemfile, and Rakefile
Added the following files:
- .ruby-version: Specifies the Ruby version to be used in the project. This helps ensure compatibility and consistency across different environments.
- .sourcery.yaml: Sourcery configuration file that allows customization of Sourcery's behavior, such as ignoring specific refactorings or skipping directories.
- Gemfile: Specifies the dependencies for the project, including gems like 'github-pages', 'html-proofer', 'rake', and 'webrick'.
- Rakefile: Defines tasks for building, cleaning, and serving the Jekyll site, as well as checking links.

These files were added to enhance the project's Ruby environment, configure Sourcery, manage dependencies, and automate common tasks in the Jekyll site development process.
2023-07-25 18:37:13 -05:00

68 lines
1.6 KiB
YAML

# 🪄 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-07-23 at 14:47.
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
rule_settings:
enable:
- default
disable: [] # A list of rule IDs Sourcery will never suggest.
rule_types:
- refactoring
- suggestion
- comment
python_version: '3.9' # 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