Skip to content

🔧 [#587] added rule to ban import logging#610

Merged
stevenbal merged 1 commit intomasterfrom
issue/ban-import-usage-stdlib
May 26, 2025
Merged

🔧 [#587] added rule to ban import logging#610
stevenbal merged 1 commit intomasterfrom
issue/ban-import-usage-stdlib

Conversation

@TimdeBeer1
Copy link
Contributor

Fixes #587

Changes

Added rule to ban the logging import

@codecov-commenter
Copy link

codecov-commenter commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.66%. Comparing base (f795856) to head (1604c51).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #610   +/-   ##
=======================================
  Coverage   94.66%   94.66%           
=======================================
  Files         148      148           
  Lines        5171     5171           
=======================================
  Hits         4895     4895           
  Misses        276      276           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@stevenbal stevenbal left a comment

Choose a reason for hiding this comment

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

@TimdeBeer1 could you add ruff.toml to the paths for the code-quality workflow? That way it also runs if any changes are made to this file https://github.com/maykinmedia/objects-api/blob/master/.github/workflows/code-quality.yml#L8-L13

@TimdeBeer1 TimdeBeer1 force-pushed the issue/ban-import-usage-stdlib branch 3 times, most recently from 89ca6d8 to effb46d Compare May 26, 2025 09:23
@TimdeBeer1 TimdeBeer1 requested a review from stevenbal May 26, 2025 10:29
	modified:   .github/workflows/code-quality.yml
	modified:   ruff.toml

	modified:   .github/workflows/code-quality.yml
	modified:   ruff.toml
	modified:   src/objects/celery.py
	modified:   src/objects/utils/middleware.py

	modified:   .github/workflows/code-quality.yml
	modified:   ruff.toml
	modified:   src/objects/celery.py
	modified:   src/objects/utils/middleware.py

	modified:   .github/workflows/code-quality.yml
	modified:   ruff.toml
	modified:   src/objects/celery.py
	modified:   src/objects/utils/middleware.py
@TimdeBeer1 TimdeBeer1 force-pushed the issue/ban-import-usage-stdlib branch from effb46d to 1604c51 Compare May 26, 2025 11:56
@TimdeBeer1 TimdeBeer1 requested a review from stevenbal May 26, 2025 12:01
@stevenbal stevenbal merged commit 41ffc83 into master May 26, 2025
25 checks passed
@stevenbal stevenbal deleted the issue/ban-import-usage-stdlib branch May 26, 2025 12:26
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.

Ban the imports/usage of stdlib logging module

3 participants