Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 🚑 #385

Merged
merged 1 commit into from
Jul 9, 2024
Merged

🔧 🚑 #385

merged 1 commit into from
Jul 9, 2024

Conversation

mraniki
Copy link
Owner

@mraniki mraniki commented Jul 9, 2024

Summary by Sourcery

This pull request enhances the configuration loading process by enabling the merging of configuration files and fixes a typo in the list of configuration files.

  • Bug Fixes:
    • Fixed a typo in the list of configuration files by separating '.secrets.toml' and '.op.toml' into distinct entries.
  • Enhancements:
    • Enabled merging of configuration files by setting 'merge_enabled' to True.

Copy link

sourcery-ai bot commented Jul 9, 2024

Reviewer's Guide by Sourcery

This pull request addresses a typo in the configuration file list and introduces a new configuration option 'merge_enabled' set to True. The old 'merge' option has been commented out.

File-Level Changes

Files Changes
findmyorder/config.py Corrected configuration file list and added a new 'merge_enabled' option.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

@mraniki mraniki enabled auto-merge July 9, 2024 10:57
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @mraniki - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 2 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

],
# Load the.env file
load_dotenv=True,
# merge=True,
Copy link

Choose a reason for hiding this comment

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

suggestion: Remove commented-out code if not needed.

If the 'merge=True' line is no longer needed, consider removing it to keep the codebase clean. If it is needed for future reference, it might be better to add a comment explaining why it is commented out.

Suggested change
# merge=True,
# The following line is commented out for future reference:
# merge=True,

],
# Load the.env file
load_dotenv=True,
# merge=True,
merge_enabled=True,
Copy link

Choose a reason for hiding this comment

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

issue: Potential redundancy with 'merge' and 'merge_enabled'.

The new 'merge_enabled' parameter might be redundant if 'merge' was intended to serve the same purpose. Consider consolidating these settings to avoid confusion.

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b6f833a) to head (2d5c827).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #385   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          141       141           
=========================================
  Hits           141       141           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mraniki mraniki merged commit 5bf883d into main Jul 9, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant